The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Conversion FPNumToHex | |||||||||
See also: Hex, HexToDouble, HexToSingle, HexToExtended | |||||||||
FPNumToHex |
|||||||||
The function FPNumToHex converts the floating point number innum into a hexdecimal string which represents the exact IEEE binary value. This allows to store floating point numbers as a string without any rounding problems. The resulting string is of different length depending on the type of the floating point nummber: version [1] creates a 20 character string, version [2] a 16 character string, and version [3] a 8 character string.
|