log10() added to ksh93/data/math.tab for the next release
On Tue, 16 Dec 2008 23:03:48 -0500 Finnbarr Murphy wrote:
> ksh93 currently supports log()=2C log1p()=2C log2()=2C and logb() if the=20
> 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=20
> function to the list in ../ksh93/data/math.tab.
> A nitpick - I would also suggest changing this section of=20
> the ksh93 man page:
> =20
> 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.=20
> or words to that effect. I recently came across a couple of
> platforms where libm did not include log2() and hence the=20
> ksh93 I built did not include log2() support.
> Thanks
> - Finnbarr
> --_89de7150-1ede-428c-9f4f-132901eb6a5a_
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> <html>
> <head>
> <style>
> .hmmessage P
> {
> margin:0px=3B
> padding:0px
> }
> body.hmmessage
> {
> font-size: 10pt=3B
> font-family:Verdana
> }
> </style>
> </head>
> <body class=3D'hmmessage'>
> Glen=2C David=2C<br><br>ksh93 currently supports log()=2C log1p()=2C log2()=
> =2C and logb() if the <br>underlying libm implements these functions.<br><b=
> r>The only log* function not currently supported in ksh93 is log10().<br><b=
> r>Can you add log10()? =3B It should only be a matter of adding this <b=
> r>function to the list in ../ksh93/data/math.tab.<br><br>A nitpick - I woul=
> d also suggest changing this section of <br>the ksh93 man page:<br> =3B=
> <br> =3BAny of the following math library functions =3B that =
> =3B are =3B in<br> =3Bthe =3B C =3B math =3B library&nb=
> sp=3B can =3B be =3B used =3B within an arithmetic<br> =3Be=
> xpression:<br><br>to something like<br><br> =3BAny of the following mat=
> h library functions =3B that =3B are =3B in<br>
>  =3Bthe =3B C =3B math =3B library =3B can =3B be&n=
> bsp=3B used =3B within an arithmetic<br>
>  =3Bexpression if implemented in the libm math library. <br>
> <br>or words to that effect. =3B I recently came across a couple of<br>=
> platforms where libm did not include log2() and hence the <br>ksh93 I built=
> did not include log2() support.<br><br>Thanks<br>- Finnbarr<br><br></body>
> </html>=
> --_89de7150-1ede-428c-9f4f-132901eb6a5a_--
> --===============0252954981==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> _______________________________________________
> ast-developers mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-developers
> --===============0252954981==--
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers