Powered by PmWiki
It's the double data type supported?
Yes. Hessian's double data type is a 64 bit, big endian, IEEE 754 floating point number so it's present in most modern programming languages, some implementations might vary.
When using double numerical data, make sure client and server use compatible data types in the call, for instance, if you call a remote Java service that returns a “float” data type, precision will be lost in the conversion to PHP's double.
HessianPHP's double implementations packs the binary data in a machine dependent order because of limitations in PHP's pack function, but then it resolves the order using another algorithm. This hasn't been tested in a non-x86 architecture. Comments will be appreciated.