J3/05-115 Date: 4 Jan 2005 To: J3 From: Fred Tydeman Subject: REM(inf,y), REM(x,0.0) NUMBER: F03/0036 TITLE: IEEE_REM() KEYWORDS: IEEE-754, remainder() DEFECT TYPE: ??? STATUS: For consideration QUESTION: What is REM(infinity,Y)? REM(X,0.0)? What is REM(X,Y) if X and/or Y is NaN? DISCUSSION: IEEE-754 requires (in 7.1) both REM(infinity,Y) and REM(X,0.0) shall be a NaN and raise invalid. REM(X,Y) when both X and Y are NaN shall be a NaN, and should be one of NaN arguments. REM(X,Y) when one of X and Y is a NaN shall be a NaN, and should the NaN argument. ANSWER: EDITS: All edits refer to 04-007.pdf. SUBMITTED BY: Fred Tydeman HISTORY: J3/05-115 m171 Submitted