Ticket #1200 (closed RFC: fixed)
sprintf formatting for exponents needs to be standardized
Reported by: | coke | Owned by: | Paul C. Anagnostopoulos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | |
Severity: | medium | Keywords: | sprintf |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Originally opened by in http://rt.perl.org/rt3/Ticket/Display.html?id=40823
The original ticket points out that most systems generate 1e+00, while windows generates 1e+000.
Parrot needs to decide on a standard (regardless of OS) and stick with it.
I'll throw out there that we should consider dropping all leading zeros for exponents, using 1e+0 for the given example.
There was never consensus on the original ticket to decide even between the first two options.
Change History
Note: See
TracTickets for help on using
tickets.