diff options
| author | Alex Richardson <arichardson@FreeBSD.org> | 2017-11-28 20:37:27 +0000 |
|---|---|---|
| committer | Alex Richardson <arichardson@FreeBSD.org> | 2017-11-28 20:37:27 +0000 |
| commit | 55c6cacd56018de1a0b9f3004d73a29cf6983521 (patch) | |
| tree | 914f3be6e98186e51f74a29eab3b066894acc3a1 /lib/libc/mips | |
| parent | eb7ec397044cc2b16fe369b8df4d1718838e463c (diff) | |
Notes
Diffstat (limited to 'lib/libc/mips')
| -rw-r--r-- | lib/libc/mips/gen/fabs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/mips/gen/fabs.c b/lib/libc/mips/gen/fabs.c index 6730a6746289..9c51f43ff4e7 100644 --- a/lib/libc/mips/gen/fabs.c +++ b/lib/libc/mips/gen/fabs.c @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); double fabs(double x) { - if (x < 0) - x = -x; - return(x); + + return (__builtin_fabs(x)); } |
