| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:683 |
| From: | herzer AT fbp DOT fh-weingarten DOT de (Armin Herzer) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | binary representation of floats |
| Date: | Wed, 31 Jan 1996 08:17 GMT |
| Organization: | Fachhochschule Ravensburg-Weingarten FBP |
| Lines: | 20 |
| Distribution: | world |
| Message-ID: | <19960131081708.herzer@assi2.fbp.fh-weingarten.de> |
| NNTP-Posting-Host: | assi2.fbp.fh-weingarten.de |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hello all, here is a problem which needs no urgent solution, but I would be glad if I know one: What I want to do is to get the binary representation of a float or double (the way these numbers are stored in memory). How can I obtain them? How do I modify them? Is there a documentation from which I can see how the format of these binary represetations on PC's (and in DJGPP) is. I played with these methods long ago on an AMIGA (with AmigaBASIC) but know I do C and didn't find a way until yet! Is any help possible? Thanks in advance, Armin Armin Herzer FH Ravensburg-Weingarten Postfach 1261 88241 Weingarten Germany phone 49 751 501417 fax 49 751 501446 e-mail: herzer AT fbp DOT fh-weingarten.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |