Replies: 1 comment 2 replies
-
Yes, the string returned by An interesting question is what exponent value it should return in the following cases:
I think, when the first input parameter is zero, the floating-point number should be rounded to the nearest |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for clarification concerning the string of significant digits returned in the given buffer to
REPRESENT
. Typically I'd expect from C printf() family a string formatting123.45
would typically yield for%e
a string1.23450e02
.But as I read
REPRESENT
the phrase in bold implies that string returned would be without a decimal point, ie.123450
withS: 3 FALSE TRUE
. Is this a correct interpretation?From 12.6.1.2143
REPRESENT
:Test cases to illustrate what I understand:
Beta Was this translation helpful? Give feedback.
All reactions