can anyone share with me a good algorithm to convert an ascii float
( i.e "3.1415" ) to a real10 ?, also the reverse or FtoA ?.
i only ask for algorithms expressed in pseudo code, as i want to
do the actual code.
Posted on 2003-04-11 03:13:24 by jack
If you have the MASM32 package, look into the m32lib subfolder... there are two source code files for the functions you look for :)
Posted on 2003-04-11 04:29:21 by bazik
thanks bazik, i'll take a look. :cool:
Posted on 2003-04-11 07:14:28 by jack
In the same latest package of MASM32 (version 8), those functions are also available in the FPU library. However the included source codes are not in pseudo code as you requested, and looking at them may thus be considered cheating!:tongue:

Posted on 2003-04-11 09:24:40 by Raymond