|There's more than one way to do things|
Re: Using (s)printf()by Anonymous Monk
|on Apr 23, 2001 at 23:27 UTC||Need Help??|
bookmarked, since it is by far the most helpful s/printf resource I have found to date.
So: having shmoozed, care to take a question ? -) I have been working with the folks who are rewriting Math::BigFloat, and we have come to a (partial) disagreement. I am of the opinion that zero should be represented, in scientific notation, with exponent == 0; i.e. by something like '0e0'. This belief is at least in part due to the fact that every printf I've encountered renders
printf '%e\n' 0
as something like
Does this representation seem reasonable to you? Is this behavior specified anywhere?