OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xacml-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: A.3.4. Numeric data type conversions


Hi,

I would reword the description of the double-to-integer function. 
Currently it is:

"[...] SHALL truncate its numeric value to a whole
number and return an element of data-type "#integer"."

=> "... and return this/that number as an element ..." ;)

Concerning integer-to-double: Since #integer is an unbounded data type, 
there are #double values that cannot represent some #integer values (for 
example: 2^100 + 1). What shall happen in such a case? Intuitively, 
since the function cannot do what it is requested to do, it would have 
to return "Indeterminate".

Roland


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]