[Bug 10073] Problems with the definitions of the trigonometric functions (math:)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10073





--- Comment #13 from David Carlisle <davidc@nag.co.uk>  2010-07-14 17:07:46 ---
On 14/07/2010 17:29, bugzilla@jessica.w3.org wrote:

> 1. It is well established to denote log`e x as ln x. Please consider using the
> well-established name.

It seems that many programing languages though use log and log10 rather than ln
and log (as used on calculators and some texts) .NET has Math.Log Math.Log10
Fortran has LOG and LOG10, C's math.h the same.
> 
> 2. exp2 and exp10 are quite redundant with pow and powr. I think that it would
> be better if instead of these two functions we have pown m n, where both m and
> n are positive integers.

I'd assume (I think) exp was defined for non integer values?

> 
> 3. Why we still don't have or() and and() ? Aren't these much more important
> than the various trigonometric and exponential functions? Why is this hole in
> the document?

It's a lot easer for the user to define function or(a,b) to be a or b than to
define log. So it seems to me clearly more useful for log to be in the standard
than or (if only one is in).

David
>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 14 July 2010 17:07:49 UTC