]> Cypherpunks repositories - gostls13.git/commit
lib9: provide alterantive implementation of ldexp and frexp
authorShenghou Ma <minux@golang.org>
Fri, 26 Dec 2014 05:08:51 +0000 (00:08 -0500)
committerMinux Ma <minux@golang.org>
Fri, 6 Feb 2015 05:40:28 +0000 (05:40 +0000)
commitdb0d3892e0f3b246475c473685249427f86e3a56
tree03ac0ab9c2385d60e87cfc93e46e4ad78bb0a1ad
parentd738c6b0cad4782f50712b8a2dac95e0c1cb2366
lib9: provide alterantive implementation of ldexp and frexp

Libc on Darwin/ARM has a buggy implementation of ldexp and frexp
that could not handle denormal numbers.

Also disable VFP runfast (flush-to-zero) mode so that the gc
compiler can correctly handle denormal constants used in math and
strconv tests.

Change-Id: Ie64220b882f414e0b37f406f38181c3586104d46
Reviewed-on: https://go-review.googlesource.com/2119
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/lib9/math_darwin_arm.c [new file with mode: 0644]