Re: [xsl] Math "functions" for XSLT 1.0

Subject: Re: [xsl] Math "functions" for XSLT 1.0
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 3 Mar 2010 11:38:18 -0800
Alain,

> By the way, almost 30 years ago, I already knew that calculators never use
> Taylor series (CORDIC algorithms were written in 1959)... Even if they are
> mathematically correct, they require too many iterations for small systems
> and managing huge numbers such as factorials is not always possible. I'm
> interested in XSLT at browser side and speed is important.


I wonder why you think CORDIC algorithms are faster. Here
(http://en.wikipedia.org/wiki/CORDIC#Application) is a statement
comparing the speeds:

"On the other hand, when a hardware multiplier is available (e.g., in
a DSP microprocessor), table-lookup methods and power series are
generally faster than CORDIC".


--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play




On Wed, Mar 3, 2010 at 10:49 AM, COUTHURES Alain
<alain.couthures@xxxxxxxxxxxxx> wrote:
> Dimitre,
>
> Unfortunately, FXSL is not in first results listed by Google when searching
> "xslt sin" or "xslt cos".
>
> By the way, almost 30 years ago, I already knew that calculators never use
> Taylor series (CORDIC algorithms were written in 1959)... Even if they are
> mathematically correct, they require too many iterations for small systems
> and managing huge numbers such as factorials is not always possible. I'm
> interested in XSLT at browser side and speed is important.
>
> So, if FXSL users consider it good enough for their requirements, it's good
> to know. Do you know if they are working at client-side or at server-side ?
>
> Because I spent no more than one day to find algorithms and less than one
> another to implement the ones I need, it wasn't for me a costly effort,
> anyway.
>
> If only Microsoft had already implemented XSLT 2.0, XPath 2.x, SVG,
> XForms,... more efforts would have been saved...
>
> Best regards,
>
> -Alain

Current Thread