site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: GDT Software Group Hi, Kristoffer Eriksen wrote:
It correctly generates the nan, but doesn't crash. For kicks, if I raise a SIGFPE manually, it crashes like it's supposed to, meaning that the default behavior for a SIGFPE is correct.
AFAIR, matherr is responsible for SIGFPE generation in sqrt() and other math library functions, try to dig for it. Try to replace sqrt() with simple division-by-zero instruction -- it'll be easier to make it work I think. Hope it helps -- Regargds, Alexey _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com