> I have made the suggestion that idiv should be defined on all numeric types. > This would mean that [10 idiv xdt:untypedAtomic("2.5")] returns 4, not 5 as > it does currently. It would also mean (I think) that the expression [(a idiv > b)*b+(a mod b) = a] becomes true for all numeric values a and b. this would probably good, in which case mod should probably be _defined_ by that equality, otherwise floating point arithmetic being what it is chances are that the two mathematically equivalent expressions either side of the = will give different results for some value or other. DavidReceived on Tuesday, 2 December 2003 15:51:34 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT