|  3DSoftware.com > Programming > Floating Point > Page 3 |
|
Floating Point Numbers
Page 3
Wide Floating Point The default floating point format for personal computers allocates only 32 or 64 bits for each number, with significands that are 24 and 53 bits respectively. We need more precision than that, so we are developing a simple floating point format that supports Our programs run on personal computers that use AMD processors. The WideFloat type of numbers discussed in this article are for our programs that run on Our current implementation of WideFloat is a floating point number with a |
|
Significand
The significand of these numbers is like a WideInteger, which is a type of integer that is larger than the default types of integer. While significands are integers, they behave differently than integers in an important respect: they grow (multiply) fractionally in the opposite direction. Actual integers are only whole numbers that when multiplied grow larger, adding more digits to the left of the radix point. Significands grow fractional digits in the other direction, with each additional new digit to the right adding less than (instead of more than) the adjacent digit. These digits are in reverse order than for integers. Other than that, significands are like integers. |
|
Digits
In this implementation, a digit is We store each digit in a |
|
|
In Base 10, the point that separates the fractional part of a number from the whole part is called a For arithmetic operations (such as multiplication) to be performed on a number, the radix point must be between digits, not within a digit. For arithmetic operations to be performed on this number system of |
| Page 3 | ||||||
|
|
Copyright © 2008 by 3D Software. All rights reserved. 3D Software, P.O. Box 221190, Sacramento CA 95822 USA www.3DSoftware.com Contact us |
| Thursday, 20-Nov-2008 12:43:48 GMT |