diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-03-10 20:52:59 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-03-10 20:52:59 +0000 |
commit | 13a06ba585136e86647a68523dd8f6498c687e9a (patch) | |
tree | f2d07cf1c095143e090ce1eb299f48482f90e22f /regress/lib/libm/fpaccuracy/fpaccuracy.h | |
parent | c9533e7f54362f69404a240f8b08dca64aad2812 (diff) |
Implement sicos(3), sincosf(3) and sincosl(3). These functions are common
extensions and modern compilers (such as clang) will use them to optimize
separate calculations of sine and cosine.
ok tom@, patrick@, deraadt@, jmc@
Diffstat (limited to 'regress/lib/libm/fpaccuracy/fpaccuracy.h')
-rw-r--r-- | regress/lib/libm/fpaccuracy/fpaccuracy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libm/fpaccuracy/fpaccuracy.h b/regress/lib/libm/fpaccuracy/fpaccuracy.h index 91566648565..7a8b40703e1 100644 --- a/regress/lib/libm/fpaccuracy/fpaccuracy.h +++ b/regress/lib/libm/fpaccuracy/fpaccuracy.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fpaccuracy.h,v 1.1 2009/04/09 01:24:43 martynas Exp $ */ +/* $OpenBSD: fpaccuracy.h,v 1.2 2018/03/10 20:52:58 kettenis Exp $ */ /* * Written by Martynas Venckus. Public domain @@ -26,6 +26,8 @@ int fpaccuracy_log10(FILE *); int fpaccuracy_pow2_x(FILE *); int fpaccuracy_powx_275(FILE *); int fpaccuracy_sin(FILE *); +int fpaccuracy_sincos_sin(FILE *); +int fpaccuracy_sincos_cos(FILE *); int fpaccuracy_sinh(FILE *); int fpaccuracy_sqrt(FILE *); int fpaccuracy_tan(FILE *); |