xsl-list
[Top] [All Lists]

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

2010-03-03 13:39:23
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(_dot_)couthures(_at_)agencexml(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--