develooper Front page | perl.perl5.porters | Postings from July 2001

Re: Redef of MAX_UV fixes half of UTS problems

July 2, 2001 09:30
Re: Redef of MAX_UV fixes half of UTS problems
Message ID:
> > ===================== op/sprintf ====================
> > not ok 8 >%E< >123456.789< >1.234568E+05< >1.234567E+05< => >1.234567E+5< # Like %e, but using upper-case "E"
> > not ok 162 >%-13g< >1234567.89< >1.23457e+06  < >1.23456e+06  < => >1.23456e+6   <
> I hope Hugo or Jarkko know more about this test, as I've not looked at it
> [yet]

Well, this is the way our sprintf works, apparently, by truncation.
I would appreciate any reference to a POSIX, ANSI, or other standards
document that says it should NOT work that way.  If they exist, I'll
see that UTS conforms (or at least can be made to conform with a
POSIX flag set or some such -- we don't want to break our customer's
applications if they've been compensating for it.

Thanks,   Hal Morris,  UTS Global, LLC Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About