Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!192.244.176.52!news.iij.ad.jp!isac.co.jp!nobu From: nobu@psrc.isac.co.jp (Nobuhiro Yasutomi) Organization: ISAC,Inc. JAPAN Message-ID: <96Dec2.660@psrc.isac.co.jp> Date: Mon, 2 Dec 1996 13:59:43 GMT In-reply-to: feisal@tstt.net.tt's message of 29 Nov 1996 04:35:22 GMT Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Floating point exceptions References: <slrn59sqd3.179.feisal@lancelot.valsayn.tt> Lines: 27 In article <slrn59sqd3.179.feisal@lancelot.valsayn.tt> feisal@tstt.net.tt (Feisal Mohammed) writes: > The only error I get from FBSD is the following > /kernel: pid 1152 (lamp) exited with masked floating point exceptions 0x61 > > I know it's probably a long shot, but does anyone know what this > error mesage means? Do you use ``fpsetmask'' function for control exceptions in your code? You got kernel message when you forget reset the masks before exit program. For example of no message to got: /* allow divide by zero -- Inf generated */ fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV)); : allow exception code fpresetsticky(FP_X_DZ|FP_X_INV); fpsetmask(FP_X_DZ|FP_X_INV); : to exit program -- Nobuhiro Yasutomi. ISAC, Inc.