473,468 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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?
Nov 24 '05 #1
7 1094
Jonathan Wilson wrote:
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
Nov 24 '05 #2
On Thu, 24 Nov 2005 22:13:07 +0800, Jonathan Wilson <jo****@tpgi.com.au>
wrote:
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.

--
Doug Harrison
Visual C++ MVP
Nov 24 '05 #3
Tom Widmer [VC++ MVP] wrote:
Jonathan Wilson wrote:
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
Nov 24 '05 #4
"Jonathan Wilson" <jo****@tpgi.com.au> wrote in message news:%2***************@TK2MSFTNGP10.phx.gbl...
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
Nov 25 '05 #5
Doug Harrison [MVP] wrote:
On Thu, 24 Nov 2005 22:13:07 +0800, Jonathan Wilson <jo****@tpgi.com.au>
wrote:

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.

This is indeed due to licensing issues.

Ronald Laeremans
Visual C++ team
Nov 28 '05 #6
> 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...
Nov 29 '05 #7
Jonathan Wilson wrote:
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
Nov 29 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim Zhao | last post by:
I downloaded the PHP 5 source code from www.php.net web site. It is a tar compressed file. I used WinZip to unzip it. Now I got a whole bunch of files. But I do not know to read these files. Do...
9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
115
by: TheAd | last post by:
At this moment I use MsAccess and i can build about every databound application i want. Who knows about a serious open source alternative? Because Windows will be a client platform for some time, i...
4
by: kj | last post by:
I consider myself quite proficient in C and a few other programming languages, but I have never succeeded in understanding a largish program (such as zsh or ncurses) at the source level. ...
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
8
by: Alvo von Cossel I | last post by:
hey everybody, I have written a great browser but it is missing a feature (quite a lot actually, but forget about them for now). that feature just so happens to be the View > Source function....
7
by: Tina | last post by:
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
4
by: Spizzat2 | last post by:
I'm trying to figure out a workaround to a minor annoyance that I'm coming up with while coding a site. I've got some keyboard shortcuts set up for the site via javascript, and when I press escape,...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.