Re: IEEE 754 (or 854) floating point arithmetics with MathML

> if you could give me some more hint on how to use floating point
> numbers in MathML:

i think (although some of my colleagues on the working group) may have
better suggestions that you should go

<cn type="real" definitionURL="http://standards.ieee.org/catalog/bus.html#754-1985">1.234</cn>

and then your processing code will pick that up and enforce IEEE
semantics for the number.

> As I have described earlier, we are working on some routines for conversion
> from Matlab (Polynomial Toolbox for Matlab) to MathML. A basic data type in
> Matlab is 'double'...

Do you also need to encode other kinds of representation of real number,
if all your numbers are double then (perhaps) it is enough just to use
cn type=real?

It depends really on what processing you propose to do with the numbers,
I think.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Received on Tuesday, 20 November 2001 13:05:05 UTC