From: Daniel Marques <dani@wiris.com>

Date: Mon, 5 Nov 2012 15:38:26 +0100

Message-ID: <de5e3c261a90b84456db822d94246e2b@mail.gmail.com>

To: Paul Libbrecht <paul@hoplahup.net>, David Carlisle <davidc@nag.co.uk>

Cc: www-math@w3.org

Date: Mon, 5 Nov 2012 15:38:26 +0100

Message-ID: <de5e3c261a90b84456db822d94246e2b@mail.gmail.com>

To: Paul Libbrecht <paul@hoplahup.net>, David Carlisle <davidc@nag.co.uk>

Cc: www-math@w3.org

Hi, Looking into detail the OpenMath specification for "rouding1/round", appears the property "Also round to even in event of a tie", which is quite restrictive. I understand that I should adhere to such definition if using "rounding1/round". We only plan to edit Content MathML without any specific semantics behind it. See http://www.wiris.com/editor/docs/content-MathML As part of the editor, we provide a simple evaluation of formulas. But this feature is not a priority and we prefer generate "good" Content MathML independently of the "round" interpretation we give right now. Another option could be, <ci>round</ci> which is more general and allows a free interpretation by the posterior usage of the content MathML. Dani -----Original Message----- From: Paul Libbrecht [mailto:paul@hoplahup.net] Sent: lunes, 05 de noviembre de 2012 13:54 To: David Carlisle Cc: Daniel Marques; www-math@w3.org Subject: Re: round symbol Dani, We all know the variants of round and their behaviour differences. I'd be mooost interested if you gave a little try to interoperate... Take round(-3.5) and evaluate it in Maple, Mathematica, Wiris, Yacas, Sage, Maxima, ... (ideally you should also try Excel, Apple Numbers, OpenOffice, ... but I doubt they understand MathML-Content or OpenMath). paul Le 5 nov. 2012 à 13:16, David Carlisle a écrit : > On 05/11/2012 11:48, Daniel Marques wrote: >> Hello, >> >> We need to represent expressions involving the "round" function in >> content MathML. >> >> For ceiling and floor there exists the tags <ceiling/> and <floor/>. >> Is there any one for round?. >> >> I assume that one possibility is to use <csymbol >> cd="rounding1">round</csymbol>. Is that the preferred one? >> >> Dani >> > > Yes I think that is correct as long as that is the variant of round > that you want (round half even) Different systems use different > terminology here for example xpath has two round functions > > http://www.w3.org/TR/xpath-functions/#func-round > > http://www.w3.org/TR/xpath-functions/#func-round-half-to-even > > > Depending what other functions you need you may find it more convenient to use your own CD with exactly the right set of functions, or perhaps not, it all depends.... > > David > >Received on Monday, 5 November 2012 14:38:33 UTC

*
This archive was generated by hypermail 2.3.1
: Tuesday, 6 January 2015 21:27:45 UTC
*