Signaling NaNs

The standards specify two kinds of NaN:

Signaling NaNs operate in conjunction with trapping. An application can, in principle, use bits of the significand to encode information to be processed by a trap handler whenever a signaling NaN is encountered. Because trapping has not found wide acceptance, however, neither have signaling NaNs.

CommonPoint systems support quiet NaNs only. If a signaling NaN appears in an arithmetic operation, the operation raises invalid and delivers a quiet NaN result.

NOTE The standards do not specify how quiet and signaling NaNs are distinguished by their signifcands. It is possible for quiet NaNs created by one CommonPoint platform could be signaling NaNs when received as input by another.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker