Re: 'Floating point exception'

Ger Hobbelt <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Wed, Mar 18, 2009 at 2:01 PM, Bill Yerazunis <[email protected]> wrote:
>
>   From: Thomas Michael Hagen <[email protected]>
>
>   > 1)
>   > full output of
>   > crm -v
>
>    This is CRM114, version 20081111-BlameBarack, rev 4797 (TRE 0.7.5
>   (LGPL, APPROX, WCHAR, MULTIBYTE)) (OS: linux-gnu)
>    Copyright 2001-2009 William S. Yerazunis
>    This software is licensed under the GPL with ABSOLUTELY NO WARRANTY
>
> One nit: if Ger could change "rev 4797" to "[GerH 4797]" to make it
> clearer to folks that they were running the GerH fork, that would be
> very handy.

That's on the list for the next release indeed. (The whole revision
thing is shrewdly b0rked anyway).

> I wonder... is it possible to do the equivalent of CRM_ENGINE_HERE and
> get more information out of the FP exception?

Wellll, some compilers (MSVC at least) can catch hardware exceptions
like that; then there's signal handlers for the UNIX boys, but it's
not exactly CRM_ENGINE_HERE stuff, unless you precheck (assert ;-) )
every possible spot where such may happen. Clearly, I haven't. :-(
To be improved.



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.