2011-03-01 Aaron Landwehr <snaphat@gmail.com>
* libm/complex/cproj.c: Fix typo. * libm/complex/cprojf.c: Ditto.
This commit is contained in:
parent
ba5f92981d
commit
127c3221cd
@ -1,3 +1,8 @@
|
|||||||
|
2011-03-01 Aaron Landwehr <snaphat@gmail.com>
|
||||||
|
|
||||||
|
* libm/complex/cproj.c: Fix typo.
|
||||||
|
* libm/complex/cprojf.c: Ditto.
|
||||||
|
|
||||||
2011-02-22 Corinna Vinschen <vinschen@redhat.com>
|
2011-02-22 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
|
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
|
||||||
|
@ -93,7 +93,7 @@ cproj(double complex z)
|
|||||||
{
|
{
|
||||||
double_complex w = { .z = z };
|
double_complex w = { .z = z };
|
||||||
|
|
||||||
if (isinf(creal(z) || isinf(cimag(z)))) {
|
if (isinf(creal(z)) || isinf(cimag(z))) {
|
||||||
#ifdef __INFINITY
|
#ifdef __INFINITY
|
||||||
REAL_PART(w) = __INFINITY;
|
REAL_PART(w) = __INFINITY;
|
||||||
#else
|
#else
|
||||||
|
@ -55,7 +55,7 @@ cprojf(float complex z)
|
|||||||
{
|
{
|
||||||
float_complex w = { .z = z };
|
float_complex w = { .z = z };
|
||||||
|
|
||||||
if (isinf(crealf(z) || isinf(cimagf(z)))) {
|
if (isinf(crealf(z)) || isinf(cimagf(z))) {
|
||||||
#ifdef __INFINITY
|
#ifdef __INFINITY
|
||||||
REAL_PART(w) = __INFINITY;
|
REAL_PART(w) = __INFINITY;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user