Apple 1.1.2 manual Normalized Numbers

Page 43

Technical Considerations

where

±is the sign stored in the sign bit (1 is negative, 0 is positive).

significand

has the form b0.b1b2b3. . . bprecision-1where

 

b1b2b3. . . bprecision-1are the bits in the fraction field

 

and b0 is an implicit bit whose value is interpreted

 

as described in the sections ÒNormalized NumbersÓ

 

and ÒDenormalized NumbersÓ below. The significand

 

is sometimes called the mantissa.

exponent

is the value of the exponent field.

bias

is the bias of the exponent. The bias is a

 

predefined value (127 for single format, 1023 for

 

double and double-double formats) that is added to

 

the exponent when it is stored in the exponent

 

field. When the floating-point number is evaluated,

 

the bias is subtracted to return the correct

 

exponent. The minimum biased exponent field (all

 

0Õs) and maximum biased exponent field (all 1Õs)

 

are assigned special floating-point values.

In a numeric data format, each valid representation belongs to exactly one of these classes, which are described in the sections that follow:

normalized numbers

denormalized numbers

Infinities

NaNs

zeroes

Normalized Numbers

The numeric data formats represent most floating-point numbers as normalized numbers, meaning that the implicit leading bit, b0, of the significand is 1. Normalization maximizes the resolution of the data type and ensures that representations are unique.

Using only normalized representations creates a gap around the value 0. If a computer supports only the normalized numbers, it must round all tiny values to 0. For example, suppose such a computer must perform the operation x-y, where x and y are very close to, but not equal to, each other. If the difference between x and y is smaller than the smallest normalized number, the computer must deliver 0 as the result. Thus, for such flush-to- zero systems, the following statement is not true for all real numbers:

x-y=0if and only if x=y

Technical Considerations

37

iMalc Manual

Image 43
Contents Calculate Different Eyecatcher IMalc Conventions System requirementsAssumptions Contents List of illustrations Introduction Introduction Calculator operation Quick StartDisplay Hidden functionsError codes Using the keyboardChanging the appearance Preferences file Icons InterfaceWindows Interface Interface Interface Interface Interface Interface Menus Interface Interface Calculator Operation Calculator OperationCalculator Operation Keys Operation Log natural ln becomes e Display Using the keyboard Preferences File Flavours Bondi iMalc Strawberry iMalc G3Calc Blueberry iBookCalc How computers handle maths Technical ConsiderationsTechnical Considerations Careful Rounding =x2, x=Ãy y=375x, x=yÖ375About the Fpce Technical Report Exception HandlingAbout Floating-Point Data Formats PowerPC Numerics Versus SaneInterpreting Floating-Point Values Normalized Numbers Infinities Denormalized NumbersZeroes NaNsRange of numbers RangesRanges of functions Technical Considerations Trigonometry units Error codesThird release, 12th October Version HistoryProposed future enhancements Where to get the latest versionShareware RegistrationPricing Registering Online RegisteringRegistering by email, fax or post Payment Instructions Using Register iMalcRegistration Payment by cash or US$ check/money order Payment by credit card or First VirtualAfter you have registered USASupport@kagi.com Technical SupportContacting Eyecatcher About EyecatcherCopyright Legal InformationTrademarks Software License Legal Information Legal Information Bibliography Other InformationCredits Eyecatcher@kagi.com Useful contactsHttp//hyperarchive.lcs.mit.edu/HyperArchive.html Ansi IndexIndex Sign change key Index