- /* sdfeform.cpp by K.Tsuru */
- // function ID 3404 DRADIX
- /*******************************
- SDouble class
- It converts SDouble x to m*10^e (|m| < 1.0)
- ********************************/
- #ifndef SN_H
- #include "sn.h"
- #endif
-
- SDouble SDtoE_Form(const SDouble& x, long* exp){
- SDouble X(x); // copy
- //exponent portion
- long e = X.DExp();
- *exp = e;
- //mantissa : Its absolute value is less than 1.0.
- return X.MultPow10(-e);
- }
sdfeform.cpp : last modifiled at 2016/03/31 19:41:44(442 bytes)
created at 2017/10/07 10:22:50
The creation time of this html file is 2017/10/07 11:29:39 (Sat Oct 07 11:29:39 2017).