flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
dmitriy566
Hello!
I need two procs: converting from double fpu to string and back. I will be very glad if you give me a good realisations of these procs. Thank you. |
|||
![]() |
|
redsock
Depending on requirements, this is often a non-trivial task... in my own library, I implemented the http://www.cs.indiana.edu/~dyb/pubs/FP-Printing-PLDI96.pdf method, which is slower than the "standard method" but provides string <-> double <-> string <-> double without rounding/loss issues (a messy but required bit that I needed).
The guts of mine are from_double and to_double at https://2ton.com.au/library_as_html/string32.inc.html Cheers |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.