On Monday, July 30, 2012, Brad Bell wrote: > When I run the attached script I get the following output: > std::tan(x) = nan
Some of the more obscure x87 instructions (fpatan, fprem, fprem1) used for this in 32 bit mode are not as accurately simulated as they could be. I suspect that's the root cause. In 64 bit mode they are not used, so the program works as expected. J ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users