Talk:Literals/Floating point: Difference between revisions

→‎REXX: reiterated what format(3.0,,,,0) returns. -- ~~~~
(→‎REXX: REXX/TSO does not switch to exponential notation either)
(→‎REXX: reiterated what format(3.0,,,,0) returns. -- ~~~~)
Line 34:
what does Regina say for format(3,,,,0) ?
--[[User:Walterpachl|Walterpachl]] 06:04, 28 August 2012 (UTC)
 
No, we didn't find a difference between classic REXX and ooRexx. We just found a difference between a specific REXX (Regina) and ooRexx, and for that matter, almost all the REXXes agree (classic or not) with '''3.0''' being the correct answer.
 
Regina results for '''format(3,,,,0)''' is the same as all the others: '''3'''
<br>Regina results for '''format(3.0,,,,0)''' is: '''3''' instead of '''3.0'''.
<br>Note that Personal REXX, PC/REXX, R4, ROO, ooRexx, TSO REXX all return '''3.0''' (the correct value).
<br>Presumably CMS REXX will return the same result as TSO REXX. I don't have access to REXX/imc and other REXXes not mentioned, but it would be nice to see what those REXXes return. -- [[User:Gerard Schildberger|Gerard Schildberger]] 16:34, 28 August 2012 (UTC)
 
:::: Test on REXX/TSO shows