Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Lcc-Win32 Bug Report -- ATAN FUNCTION AGAIN!



I have found the problem

I call atan with the right arguments, but after the call I adjust the
stack in  a wrong fashion.

I push 8 bytes (a double resulting from the conversion of the integer
1 into double)
but I adjust the stack with 4, since the compiler still thinks it has
pushed an int.

You wrote:

atan(1)
instead of
atan(1.0)

So I have to do a cast. I do it OK but fail to adjust the stack with
the size of the converted
argument, in this case 8.

I fixed this and will be in the next release.

jacob





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.