2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libm/complex/cacos.c: Reorder function calls to work around ICE in arm/thumb-gcc.
This commit is contained in:
parent
5e504c84e1
commit
d39e3a1edc
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libm/complex/cacos.c: Reorder function calls to work around ICE
|
||||||
|
in arm/thumb-gcc.
|
||||||
|
|
||||||
2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>
|
2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>
|
||||||
|
|
||||||
* libc/stdlib/strtol.c: Make sure signed characters are not
|
* libc/stdlib/strtol.c: Make sure signed characters are not
|
||||||
|
|
|
@ -83,6 +83,7 @@ cacos(double complex z)
|
||||||
double complex w;
|
double complex w;
|
||||||
|
|
||||||
w = casin(z);
|
w = casin(z);
|
||||||
w = (M_PI_2 - creal(w)) - cimag(w) * I;
|
w = M_PI_2 - creal(w);
|
||||||
|
w -= (cimag(w) * I);
|
||||||
return w;
|
return w;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue