In my Mathematical mind, the following expression:

(180 div 2.5, 180 div xs:float(2.5), 180 div xs:double(2.5))

should yeild:

(72, 72, 72)

as the correct answer, mathematically speaking, is 72.

MarkLogic 6 seems to think it is:

(71.99999999999999601, 72, 72)

which leads me to believe this is a xs:decimal issue.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to