CFLAGS="-R/opt/usr/local/amd64/lib -xmodel=medium - xtarget=generic64 -fast-xarch=amd64"What does "-fast" do? If it involves any reinterpretation of IEEE floatarithmetic accuracy requirements, drop it.
The -fast option using sun studio cc expands to include the flag - fsimple=2 which does affect floating point calculations. If you remove the -fast flag it should pass the tests.
any special reason why you are using xtarget=generic64 instead of native64?
-jovan