#1200: sprintf formatting for exponents needs to be standardized
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:  Paul C. Anagnostopoulos
     Type:  RFC     |      Status:  new                    
 Priority:  normal  |   Milestone:                         
Component:  core    |     Version:                         
 Severity:  medium  |    Keywords:  sprintf                
     Lang:          |       Patch:                         
 Platform:          |  
--------------------+-------------------------------------------------------
Changes (by Paul C. Anagnostopoulos):

  * owner:  => Paul C. Anagnostopoulos


Comment:

 I think we should stick with the standard 2-digit exponent. It's almost
 universal. If people agree, I'll fix this.

 Right now the fix-up code is #ifdef'ed on WIN32. I'd be tempted to make it
 unconditional and work for any number of exponent digits. I'd also add a
 #define for the default number of digits,
 `PARROT_SPRINTF_DEFAULT_EXP_DIGITS.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1200#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to