Hello all,
A bit of a dumb question here but I'll ask anyway.
What is the difference between %f and %e, and their counterparts %lf and %le?
I note that if used in printf it makes no difference, at least with the compiler I am using---the same on-screen precision is given.
However, I seem to recall code not compiling when anything but %le was used in a scanf function.
Can someone explain?
Best wishes,
-- Joe
A bit of a dumb question here but I'll ask anyway.
What is the difference between %f and %e, and their counterparts %lf and %le?
I note that if used in printf it makes no difference, at least with the compiler I am using---the same on-screen precision is given.
However, I seem to recall code not compiling when anything but %le was used in a scanf function.
Can someone explain?
Best wishes,
-- Joe