diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-08-20 23:52:01 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-08-20 23:52:01 +0900 |
commit | 4b2810ab2d6be3d1cf811e53d3b4f57630821108 (patch) | |
tree | 818d7747920e1fd33d589f4a6028fd22368d4db0 /Src | |
parent | 1c6d3e3f04363b252be7cd3f6f1a7fa29e522227 (diff) | |
download | zsh-4b2810ab2d6be3d1cf811e53d3b4f57630821108.tar.gz zsh-4b2810ab2d6be3d1cf811e53d3b4f57630821108.tar.xz zsh-4b2810ab2d6be3d1cf811e53d3b4f57630821108.zip |
39064: use scalbn() instead of scalb() (mathfunc.c)
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/mathfunc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Modules/mathfunc.c b/Src/Modules/mathfunc.c index 451b3cfeb..a7e8b294c 100644 --- a/Src/Modules/mathfunc.c +++ b/Src/Modules/mathfunc.c @@ -411,7 +411,11 @@ math_func(char *name, int argc, mnumber *argv, int id) break; case MF_SCALB: +#ifdef HAVE_SCALBN + retd = scalbn(argd, argi); +#else retd = scalb(argd, argi); +#endif break; #ifdef HAVE_SIGNGAM |