Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


ID: 19421, ExactFloatToStr_JH0 -- Exact Float to String Routines

by John Herbster Email: Anonymous


Converts extended number to *exact* decimal representation. Other routines analyze and parse the sign, exponent, and manissa into number type and hex string values.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 5.0  to 7.0 1085 downloads
Copyright: No significant restrictions


Size: 9,390 bytes
Updated on Wed, 01 Jan 2003 11:58:24 GMT
Originally uploaded on Wed, 01 Jan 2003 11:50:42 GMT
SHA1 Hash: 538892F3F5AEF74E816B17C4CE73480C4B6F81E3
MD5 Hash: 1AC74FB3C82AB11C448F237BDB870999

    Explore the files in this upload

Description
This module includes
(a) functions for converting a floating binary point number to its *exact* decimal representation in an AnsiString;
(b) functions for parsing the floating point types into sign, exponent, and mantissa; and
(c) function for analyzing a extended float number into its type (zero, normal, infinity, etc.)

Its intended use is for trouble shooting problems with floating point numbers.

This code uses dynamic arrays, overloaded calls, and optional parameters.

   Latest Comments  View All Add New

Move mouse over comment to see the full text
Reply  Posted by John Herbster on Sep 05 2012
ExactFloatToStr_JH0 -- Exact Float to String Routines

Server Response from: ETNACDC04