J3/05-117r1 Date: 29 Jan 2005 To: J3 From: John Reid Subject: SCALB(NaN,y) Here is a draft response for F03/0038, with thanks to Malcolm Cohen for his help. NUMBER: F03/0038 TITLE: IEEE_SCALB() KEYWORDS: IEEE-754, scalb() DEFECT TYPE: Interpretation STATUS: For consideration QUESTION: What is SCALB(NaN,Y)? DISCUSSION: SCALB(X,Y) when X is a NaN shall be a NaN, and should the NaN argument. ANSWER: The second paragraph of 14.8 states "The inquiry function IEEE_SUPPORT_NAN is provided to inquire whether the processor supports IEEE NaNs. Where these are supported, their behavior for unary and binary operations, including those defined by intrinsic functions and by functions in intrinsic modules, shall be consistent with the specifications in the IEEE International Standard." Therefore, the behaviour of IEEE_SCALB for the case cited here is as defined for scalb by the IEEE International Standard. EDITS: None. SUBMITTED BY: Fred Tydeman HISTORY: J3/05-117 m171 Submitted