Glen, David, ksh93 currently supports log(), log1p(), log2(), and logb() if the underlying libm implements these functions.
The only log* function not currently supported in ksh93 is log10(). Can you add log10()? It should only be a matter of adding this function to the list in ../ksh93/data/math.tab. A nitpick - I would also suggest changing this section of the ksh93 man page: Any of the following math library functions that are in the C math library can be used within an arithmetic expression: to something like Any of the following math library functions that are in the C math library can be used within an arithmetic expression if implemented in the libm math library. or words to that effect. I recently came across a couple of platforms where libm did not include log2() and hence the ksh93 I built did not include log2() support. Thanks - Finnbarr
_______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
