[Bug 28845] fn:format-number, formatting rules for exponential notation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28845

--- Comment #15 from Michael Kay <mike@saxonica.com> ---
>am I correct in thinking that if the input is an xs:decimal $d, the adjusted number is of type

1. xs:double if $d * 1000 would cause a numeric overflow error
2. xs:decimal otherwise.

Yes. Well, the rule says it's Infinity, and you could actually use either
xs:double or xs:float infinity, both would produce the same result. I did think
about whether I need to say more precisely what "multiply by 100" means, e.g.
by referring to op:numeric-multiply, but it seems excessively paranoid.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 30 September 2015 11:51:15 UTC