mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Fix types of constants in k_casinh*.c.
This commit is contained in:
parent
63270c24c5
commit
6b18bea625
@ -1,3 +1,10 @@
|
||||
2013-03-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/k_casinhf.c (__kernel_casinhf): Consistently use float
|
||||
constants.
|
||||
* math/k_casinhl.c (__kernel_casinhl): Consistently use long
|
||||
double constants.
|
||||
|
||||
2013-03-19 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
|
||||
|
@ -79,8 +79,8 @@ __kernel_casinhf (__complex__ float x, int adj)
|
||||
}
|
||||
else
|
||||
{
|
||||
__real__ y = (rx - ix) * (rx + ix) + 1.0;
|
||||
__imag__ y = 2.0 * rx * ix;
|
||||
__real__ y = (rx - ix) * (rx + ix) + 1.0f;
|
||||
__imag__ y = 2.0f * rx * ix;
|
||||
|
||||
y = __csqrtf (y);
|
||||
|
||||
|
@ -86,8 +86,8 @@ __kernel_casinhl (__complex__ long double x, int adj)
|
||||
}
|
||||
else
|
||||
{
|
||||
__real__ y = (rx - ix) * (rx + ix) + 1.0;
|
||||
__imag__ y = 2.0 * rx * ix;
|
||||
__real__ y = (rx - ix) * (rx + ix) + 1.0L;
|
||||
__imag__ y = 2.0L * rx * ix;
|
||||
|
||||
y = __csqrtl (y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user