Reputation: 6276
Follow-up question for:
Question: in case of FLT_HAS_SUBNORM is 0
what fpclassify(<subnormal>)
shall return: FP_SUBNORMAL
or FP_ZERO
, or lead to UB? Please, elaborate.
In other words: in case of FLT_HAS_SUBNORM is 0
shall the implementation have DAZ (Denormals Are Zero) property? (For the details see comment by user @njuffa in the link #1.) If yes / no, then shall this property be applied to all the operations involving FP numbers (objects), or to some operations involving FP numbers (objects)?
UPD20210825: Answer from the committee:
It is FP_ZERO.
Consequences:
FLT_HAS_SUBNORM is 0
shall the implementation have DAZ (Denormals Are Zero) property set to 1? Yes.Upvotes: 1
Views: 106