Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Wilson - 24 Nov 2005 14:13 GMT
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?
Tom Widmer [VC++ MVP] - 24 Nov 2005 14:23 GMT
> 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
Tom Widmer [VC++ MVP] - 24 Nov 2005 17:41 GMT
>> 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?

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

Tom
Doug Harrison [MVP] - 24 Nov 2005 16:44 GMT
>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.

Signature

Doug Harrison
Visual C++ MVP

Ronald Laeremans [MSFT] - 28 Nov 2005 18:56 GMT
>>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).
[quoted text clipped - 4 lines]
> 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
Jonathan Wilson - 29 Nov 2005 02:51 GMT
> 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...
Carl Daniel [VC++ MVP] - 29 Nov 2005 03:42 GMT
>> 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...

Yep.

-cd
Pavel A. - 25 Nov 2005 00:02 GMT
>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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.