source code for %e, %f and %g?

  • Thread starter Thread starter Jonathan Wilson
  • Start date Start date
J

Jonathan Wilson

I can find source code in output.c for all the format specifications except
for the workings of %e, %f and %g (and also %E and %G).
Where is the source code for these functions?
If it is not included, does anyone know why not?
 
Jonathan said:
I can find source code in output.c for all the format specifications
except for the workings of %e, %f and %g (and also %E and %G).
Where is the source code for these functions?

In VC7.1, I can see them on line 744 onwards. What version are you
looking at?

Tom
 
I can find source code in output.c for all the format specifications except
for the workings of %e, %f and %g (and also %E and %G).
Where is the source code for these functions?
If it is not included, does anyone know why not?

AFAIK, MS has never provided source code for FP conversion routines or most
other FP stuff. I'm not sure why that is. Could be licensing issues, could
be that it's considered too valuable, etc.
 
Tom said:
In VC7.1, I can see them on line 744 onwards. What version are you
looking at?

Ahh, I can't find any code for the entries in the _cfltcvt_tab table,
which is what you are wanting I suppose.

Tom
 
Jonathan Wilson said:
I can find source code in output.c for all the format specifications except for the workings of %e, %f and %g (and also %E and
%G).
Where is the source code for these functions?

In any Linux distribution?

--PA
 
Doug said:
AFAIK, MS has never provided source code for FP conversion routines or most
other FP stuff. I'm not sure why that is. Could be licensing issues, could
be that it's considered too valuable, etc.
This is indeed due to licensing issues.

Ronald Laeremans
Visual C++ team
 
This is indeed due to licensing issues.
I assume then that licencing issues are why other pieces of code (e.g.
exception handling code) are also missing...
 
Back
Top