diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2014-01-03 17:51:28 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2014-01-03 17:51:28 +0000 |
commit | f71e9a28759c1f5d6e8dc0baced440e72507b433 (patch) | |
tree | d1ef7f1f84de67d0446b60c04f10a47c84ac1ddc /libc/sysdeps/ieee754/dbl-64/sincos32.c | |
parent | 036dfd44bcc8ed8e97dcd9c763f61d3b59796941 (diff) | |
download | eglibc2-f71e9a28759c1f5d6e8dc0baced440e72507b433.tar.gz |
Merge changes between r24468 and r24941 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@24942 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/ieee754/dbl-64/sincos32.c')
-rw-r--r-- | libc/sysdeps/ieee754/dbl-64/sincos32.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/ieee754/dbl-64/sincos32.c b/libc/sysdeps/ieee754/dbl-64/sincos32.c index 49aa14895..6b2fa878a 100644 --- a/libc/sysdeps/ieee754/dbl-64/sincos32.c +++ b/libc/sysdeps/ieee754/dbl-64/sincos32.c @@ -1,7 +1,7 @@ /* * IBM Accurate Mathematical Library * written by International Business Machines Corp. - * Copyright (C) 2001-2013 Free Software Foundation, Inc. + * Copyright (C) 2001-2014 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -43,6 +43,7 @@ #include "mpa.h" #include "sincos32.h" #include <math_private.h> +#include <stap-probe.h> #ifndef SECTION # define SECTION @@ -149,6 +150,7 @@ __sin32 (double x, double res, double res1) /* if a > 0 return min (res, res1), otherwise return max (res, res1). */ if ((a.d[0] > 0 && res >= res1) || (a.d[0] <= 0 && res <= res1)) res = res1; + LIBC_PROBE (slowasin, 2, &res, &x); return res; } @@ -182,6 +184,7 @@ __cos32 (double x, double res, double res1) /* if a > 0 return max (res, res1), otherwise return min (res, res1). */ if ((a.d[0] > 0 && res <= res1) || (a.d[0] <= 0 && res >= res1)) res = res1; + LIBC_PROBE (slowacos, 2, &res, &x); return res; } @@ -240,6 +243,7 @@ __mpsin (double x, double dx, bool reduce_range) default: __mp_dbl (&s, &y, p); } + LIBC_PROBE (slowsin, 3, &x, &dx, &y); return y; } @@ -298,6 +302,7 @@ __mpcos (double x, double dx, bool reduce_range) default: __mp_dbl (&c, &y, p); } + LIBC_PROBE (slowcos, 3, &x, &dx, &y); return y; } |