Re: sinf compiler error I don't understand FIXED!!

2011-04-04 Thread Ian Malone
On 4 April 2011 17:20, Michael Hennebry wrote: > On Mon, 4 Apr 2011, Ian Malone wrote: > >> I think there have been suggestions that it's time to start having >> libm linked in gcc by default as the space saving (its purpose a very >> long time ago) is tiny. > > That is rather part of the idea be

Re: sinf compiler error I don't understand FIXED!!

2011-04-04 Thread Michael Hennebry
On Mon, 4 Apr 2011, Ian Malone wrote: > I think there have been suggestions that it's time to start having > libm linked in gcc by default as the space saving (its purpose a very > long time ago) is tiny. It's supposed to be zero. That is rather part of the idea behind a library: You don't link w

Re: sinf compiler error I don't understand FIXED!!

2011-04-03 Thread Ian Malone
On 3 April 2011 23:25, les wrote: > On Sun, 2011-04-03 at 00:13 +0100, Ian Malone wrote: >> On 1 April 2011 23:29, les wrote: >> > Clearly sinf is recognized, and compiles and runs.  It returns 1.000 as >> > expected for M_PI/2.  But the line that is commented out will not >> > compile. > The f

Re: sinf compiler error I don't understand FIXED!!

2011-04-03 Thread les
On Sun, 2011-04-03 at 00:13 +0100, Ian Malone wrote: > On 1 April 2011 23:29, les wrote: > > First let me say, that while I have used C++ I don't normally use it for > > my work and so am not throughly familiar with what it does, so if this > > is due to a C++ error, please be gentle. > > > > I am

Re: sinf compiler error I don't understand

2011-04-02 Thread Ian Malone
On 1 April 2011 23:29, les wrote: > First let me say, that while I have used C++ I don't normally use it for > my work and so am not throughly familiar with what it does, so if this > is due to a C++ error, please be gentle. > > I am working on some DSP code I developed a long time ago, and now wa

Re: sinf compiler error I don't understand (corrected)

2011-04-01 Thread Cameron Simpson
On 01Apr2011 15:46, les wrote: | > Here is the smallest sample I have been working with to show the current | > error: | > | > #include [...] | > main() | > { | > long double temp; | > printf ("M_PI=%e\n",M_PI); | > printf ("sin 90 = %e\n",sinf(M_PI/2)); | > temp=M_PI/2.0; | > //

Re: sinf compiler error I don't understand (corrected)

2011-04-01 Thread Michael Hennebry
On Fri, 1 Apr 2011, les wrote: > On Fri, 2011-04-01 at 15:29 -0700, les wrote: >> Here is the smallest sample I have been working with to show the current >> error: >> >> #include >> #include >> #include >> #include >> >> main() >> { >> long double temp; >> printf ("M_PI=%e\n",M_PI);

Re: sinf compiler error I don't understand (corrected)

2011-04-01 Thread les
On Fri, 2011-04-01 at 15:29 -0700, les wrote: > First let me say, that while I have used C++ I don't normally use it for > my work and so am not throughly familiar with what it does, so if this > is due to a C++ error, please be gentle. > > I am working on some DSP code I developed a long time ago

sinf compiler error I don't understand

2011-04-01 Thread les
First let me say, that while I have used C++ I don't normally use it for my work and so am not throughly familiar with what it does, so if this is due to a C++ error, please be gentle. I am working on some DSP code I developed a long time ago, and now want to port it to 64 bit. I have read severa