mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
39064: use scalbn() instead of scalb() (mathfunc.c)
This commit is contained in:
parent
1c6d3e3f04
commit
4b2810ab2d
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-08-20 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 39064: configure.ac, Src/Modules/mathfuc.c: use scalbn() instead
|
||||
of scalb()
|
||||
|
||||
2016-08-20 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 39074: Completion/Unix/Command/_ip: _ip-neighbour: Fix typo in
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1305,6 +1305,7 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
|
|||
setlocale \
|
||||
uname \
|
||||
signgam tgamma \
|
||||
scalbn \
|
||||
putenv getenv setenv unsetenv xw\
|
||||
brk sbrk \
|
||||
pathconf sysconf \
|
||||
|
|
Loading…
Reference in a new issue