"Jonathan Turkanis" <> wrote in message news:<c4g2le$2hivok$>...
> "AciD_X" <> wrote in message
> news
an.2004.04.01.00.40.12.58754@rocketNOSPAMmai l.com...
> > On Wed, 31 Mar 2004 10:39:52 -0700, Jonathan Turkanis wrote:
> >
> > >
> > > "osmium" <> wrote in message
> > > news:c4ev62$2hoojv$...
> > >> Jonathan Turkanis writes:
>
> > >
> > > The contents of <math.h> and <cmath> are not the same: <math.h> is
> > > specified to define functions in the global namespace, <cmath> in
> the
> > > namespace std.
>
> <snip>
>
> > Do they differ in any way other than the namespace they are in ?
>
> That's the only difference.
If my memory is right <cmath> includes also overloads for every
<math.h> function, using float instead of double.
<math.h> <cmath>
double sin(double x) double std::sin(double x);
float std::sin(float x);
....
Regards.
Bobo.