Silverlight Feeds - All your Silverlight feeds in one place.

Sponsors

Thursday, August 19, 2010

Silverlight 4 "bug" in release mode in Safari / Chrome on OSX

by einar@dolittle.com (Einar Ingebrigtsen) via Einar Ingebrigtsen on 8/19/2010 3:46:39 AM

Yesterday I released a new version of the Sample Browser for Balder - but some of the samples just didn't work on Safari or Chrome on OSX, but worked in FireFox and Opera and all browsers on Windows (including Safari and Chrome).

Turns out there is an accuracy issue with using the System.Math.Log() method. It produces different results on OSX in Safari and Chrome when the code is compiled in release mode. When compiled in debug, it produces the correct result.

The method in Balder in question:


By casting the Log() result to float you get past the problem.



email it!bookmark it!digg it!

Original Post: Silverlight 4 "bug" in release mode in Safari / Chrome on OSX

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us