Public bug reported:
According to the man page for ksh the following arithmetic functions are built
in:
abs acos acosh asin asinh atan atan2 atanh cbrt copysign cos cosh erf erfc
exp exp2 expm1 fabs fdim finite
floor fma fmax fmod hypot ilogb int isinf isnan lgamma log log2 logb
nearbyint nextafter nexttoward pow
remainder rint round sin sinh sqrt tan tanh tgamma trunc
However when I try to use the function such as:
print $(( sqrt(25) ))
I get the error message
/bin/ksh: sqrt(25) : unknown function
I tried the same command on other distributions of ksh93, RH, Fedora,
AIX and I received the correct answer of 5.
** Affects: ksh (Ubuntu)
Importance: Undecided
Status: New
--
arithmetic functions such as sqrt fails
https://bugs.launchpad.net/bugs/243285
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs