This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Update powerpc libm ULPs


On Fri, Apr 13, 2012 at 4:23 PM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> Update for powerpc ulps after latest pow and ctanh updates.
>
> --
>
> 2012-04-13 ÂAdhemerval Zanella Â<azanella@linux.vnet.ibm.com>
>
> Â Â Â Âsysdeps/powerpc/fpu/libm-test-ulps: Update.
>
> ---
> Âsysdeps/powerpc/fpu/libm-test-ulps | Â 58 ++++++++++++++++++++++++++++++++++++
> Â1 files changed, 58 insertions(+), 0 deletions(-)
>
> diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
> index 1ab3d4a..86bdf49 100644
> --- a/sysdeps/powerpc/fpu/libm-test-ulps
> +++ b/sysdeps/powerpc/fpu/libm-test-ulps
> @@ -1051,16 +1051,39 @@ ifloat: 2
>
> Â# ctan
> ÂTest "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
> +float: 1
> Âdouble: 1
> Âidouble: 1
> +ifloat: 1
> ÂTest "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
> +double: 1
> +idouble: 1
> Âildouble: 1
> Âldouble: 1
> +Test "Real part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i":
> +float: 1
> +ifloat: 1
> ÂTest "Imaginary part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i":
> +float: 1
> +ifloat: 1
> Âdouble: 1
> Âidouble: 1
> Âildouble: 1
> Âldouble: 1
> +Test "Real part of: ctan (0x3.243f6cp-1 + 0 i) == -2.287733242885645987394874673945769518150e7 + 0.0 i":
> +float: 1
> +ifloat: 1
> +Test "Real part of: ctan (0x1p1023 + 1 i) == -0.2254627924997545057926782581695274244229 + 0.8786063118883068695462540226219865087189 i":
> +double: 1
> +idouble: 1
> +Test "Real part of: ctan (0x1p127 + 1 i) == 0.2446359391192790896381501310437708987204 + 0.9101334047676183761532873794426475906201 i":
> +float: 1
> +ifloat: 1
> +Test "Imaginary part of: ctan (0x1p127 + 1 i) == 0.2446359391192790896381501310437708987204 + 0.9101334047676183761532873794426475906201 i":
> +float: 1
> +ifloat: 1
> +double: 1
> +idouble: 1
>
> Â# ctanh
> ÂTest "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
> @@ -1068,14 +1091,36 @@ double: 1
> Âfloat: 2
> Âidouble: 1
> Âifloat: 2
> +Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
> +double: 1
> +idouble: 1
> ÂTest "Imaginary part of: ctanh (0 + pi/4 i) == 0.0 + 1.0 i":
> Âfloat: 1
> Âifloat: 1
> +double: 1
> +idouble: 1
> +Test "Imaginary part of: ctanh (0 + 0x3.243f6cp-1 i) == 0.0 - 2.287733242885645987394874673945769518150e7 i":
> +float: 1
> +ifloat: 1
> ÂTest "Real part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
> Âdouble: 1
> Âidouble: 1
> Âildouble: 1
> Âldouble: 1
> +Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
> +float: 1
> +ifloat: 1
> +Test "Imaginary part of: ctanh (1 + 0x1p1023 i) == 0.8786063118883068695462540226219865087189 - 0.2254627924997545057926782581695274244229 i":
> +double: 1
> +idouble: 1
> +Test "Real part of: ctanh (1 + 0x1p127 i) == 0.9101334047676183761532873794426475906201 + 0.2446359391192790896381501310437708987204 i":
> +float: 1
> +ifloat: 1
> +double: 1
> +idouble: 1
> +Test "Imaginary part of: ctanh (1 + 0x1p127 i) == 0.9101334047676183761532873794426475906201 + 0.2446359391192790896381501310437708987204 i":
> +float: 1
> +ifloat: 1
>
> Â# erf
> ÂTest "erf (1.25) == 0.922900128256458230136523481197281140":
> @@ -1488,6 +1533,11 @@ Test "log2 (e) == M_LOG2El":
> Âildouble: 1
> Âldouble: 1
>
> +# pow
> +Test "pow (0x0.ffffffp0, 0x1p24) == 0.3678794302077803437135155590023422899744":
> +float: 1
> +ifloat: 1
> +
> Â# pow_downward
> ÂTest "pow_downward (1.0625, 1.125) == 1.070582293028761362162622578677070098674":
> Âildouble: 1
> @@ -2298,12 +2348,16 @@ ildouble: 1
> Âldouble: 1
>
> ÂFunction: Real part of "ctan":
> +float: 1
> +ifloat: 1
> Âdouble: 1
> Âidouble: 1
> Âildouble: 1
> Âldouble: 1
>
> ÂFunction: Imaginary part of "ctan":
> +float: 1
> +ifloat: 1
> Âdouble: 1
> Âidouble: 1
> Âildouble: 1
> @@ -2319,6 +2373,8 @@ ldouble: 1
>
> ÂFunction: Imaginary part of "ctanh":
> Âfloat: 1
> +double: 1
> +idouble: 1
> Âifloat: 1
> Âildouble: 1
> Âldouble: 1
> @@ -2448,6 +2504,8 @@ ildouble: 1
> Âldouble: 1
>
> ÂFunction: "pow":
> +float: 1
> +ifloat: 1
> Âildouble: 1
> Âldouble: 1
>
> --
> 1.7.1

Thanks for the update.

I'll check it in shortly.

Ryan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]