1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* locales/ms_MY: Fix entries for Tue and Wednesday.

Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
2001-05-14  Andreas Jaeger  <aj@suse.de>

	* locales/ms_MY: Fix entries for Tue and Wednesday.
	Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
This commit is contained in:
Andreas Jaeger
2001-05-14 08:05:09 +00:00
parent 74f7eecd5f
commit 9c3bb910f2
4 changed files with 18 additions and 11 deletions

View File

@ -77,8 +77,8 @@ static long double one=1.0, two=2.0, tiny = 1.0e-4900L;
if (ix < 0x4003 || (ix == 0x4003 && j0 < 0xb8000000u)) {/* |x|<23 */
if ((ix|j0|j1) == 0)
return x; /* x == +- 0 */
if (ix<0x3fc8) /* |x|<2**-55 */
return x*(one+x); /* tanh(small) = small */
if (ix<0x3fc8) /* |x|<2**-55 */
return x*(one+x); /* tanh(small) = small */
if (ix>=0x3fff) { /* |x|>=1 */
t = __expm1l(two*fabsl(x));
z = one - two/(t+two);
@ -90,6 +90,6 @@ static long double one=1.0, two=2.0, tiny = 1.0e-4900L;
} else {
z = one - tiny; /* raised inexact flag */
}
return (se>0x7fff)? -z: z;
return (se&0x8000)? -z: z;
}
weak_alias (__tanhl, tanhl)