in reply to Re^3: sprintf values
in thread sprintf values
I just re-checked with ltrace, and yes you're right, it does in fact call snprintf() and frexp() to format floats.
I had done a similar check some time ago, and was surprised to not find any libc calls related to Perl's s/printf() (which is why I posted) — but that must have been without a float format specifier being used... (rather only integer formatting like %d, %u etc.) As to the creation of floats, however, I don't see any calls to libc or libm. Any idea what function that would be (just out of curiosity)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: sprintf values
by ikegami (Patriarch) on Apr 07, 2010 at 18:39 UTC |