ZVON > References > SOAP Reference

Go to standard

double

Standard excerpt:

The double datatype corresponds to IEEE double-precision 64-bit floating point type [IEEE 754-1985]. The basic value space of double consists of the values m * 2^e, where m is an integer whose absolute value is less than 2^53, and e is an integer between -1075 and 970, inclusive. In addition to the basic value space described above, the value space of double also contains the following special values: positive and negative zero, positive negative infinity and not-a-number. The order-relation on double is: x < y iff y - x is positive.


Examples:

<SOAP-ENC:double>12.234</SOAP-ENC:double>
<foo xsi:type="SOAP-ENC:double">12.234</foo>
<SOAP-ENC:double>24</SOAP-ENC:double>
<foo xsi:type="SOAP-ENC:double">24</foo>
<SOAP-ENC:double>23.2E9</SOAP-ENC:double>
<foo xsi:type="SOAP-ENC:double">23.2E9</foo>
<SOAP-ENC:double>234.16e-5</SOAP-ENC:double>
<foo xsi:type="SOAP-ENC:double">234.16e-5</foo>
<SOAP-ENC:double>0</SOAP-ENC:double>
<foo xsi:type="SOAP-ENC:double">0</foo>
<SOAP-ENC:double>-0</SOAP-ENC:double> (negative zero)
<foo xsi:type="SOAP-ENC:double">-0</foo>
<SOAP-ENC:double>INF</SOAP-ENC:double> (positive infinity)
<foo xsi:type="SOAP-ENC:double">INF</foo>
<SOAP-ENC:double>-INF</SOAP-ENC:double> (negative infinity)
<foo xsi:type="SOAP-ENC:double">-INF</foo>
<SOAP-ENC:double>NaN</SOAP-ENC:double> (not-a-number)
<foo xsi:type="SOAP-ENC:double">NaN</foo>