#include <cmath> double frexp( double num, int* exp );
frexp() 函式用於將 num 分解成兩個部分:一個介於 0.5 到 1 之間的尾數(由函式返回)和一個指數(作為 exp 返回)。科學記數法就是這樣工作的
num = mantissa * (2 ^ exp)