flat assembler
Message board for the users of flat assembler.

Index > Main > Float to string w/o FPU

Author
Thread Post new topic Reply to topic
manfred



Joined: 28 Feb 2009
Posts: 43
Location: Racibórz, Poland
manfred
Hello!

How can I convert floating point number to string without using FPU? I need only algorithm (but it's description must be written idiot-friendly). If anyone knows that, please answer...

/damn, my English is too bad, I know.../

_________________
Sorry for my English...
Post 03 Mar 2009, 20:54
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
There is no THAT simple way, sorry. you need to understand floating point number representation, bignum operations, etc. etc.
Post 03 Mar 2009, 21:27
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
Before anyone posts this, I will post it: http://docs.sun.com/source/806-3568/ncg_goldberg.html

There is a word algorithm from one of my Professors (my favourite one to add):
http://www.eecg.toronto.edu/~moshovos/ECE243-2008/l02-representations.html

There is a "word" algorithm towards the end of that lecture note.
Post 03 Mar 2009, 21:29
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.