diff options
author | Guido van Rossum <guido@python.org> | 2000-05-11 18:19:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-05-11 18:19:42 (GMT) |
commit | 71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6 (patch) | |
tree | 5022e60cabc3d790df52410d7d73cff56c058d23 /Include | |
parent | dab6cb8f6dacc107e9482976ca2f8e0313f05131 (diff) | |
download | cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.zip cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.tar.gz cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.tar.bz2 |
Added math.rint() -- round according to current IEEE754 mode
Diffstat (limited to 'Include')
-rw-r--r-- | Include/mymath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/mymath.h b/Include/mymath.h index dd6ee58..3a8c62e 100644 --- a/Include/mymath.h +++ b/Include/mymath.h @@ -48,6 +48,7 @@ extern double hypot Py_PROTO((double, double)); #undef log #undef log10 #undef pow +#undef rint #undef sin #undef sinh #undef sqrt @@ -67,6 +68,7 @@ extern double hypot Py_PROTO((double, double)); #define log logd #define log10 log10d #define pow powd +#define rint rintd #define sin sind #define sinh sinhd #define sqrt sqrtd |