[Fwd: Re: [Verse-dev] verse build (in blender) fails....]

Emil Brink emil at obsession.se
Wed Aug 23 11:19:50 CEST 2006


I got this from Eskil as private mail, guessing it was meant for the
list so I'm forwarding it.

-------- Original Message --------
Subject: Re: [Verse-dev] verse build (in blender) fails....
Date: Wed, 23 Aug 2006 11:17:57 +0200
From: eskil at obsession.se
To: Emil Brink <emil at obsession.se>
References: <A068517260604E5EB514CA1215201A46 at redaxe.local> 
<44EBFEB7.9030209 at obsession.se> <44EC0DEF.3030804 at obsession.se>

Hi

> Care to comment?

Correct me if I'm wrong, But NAN exists in C++ but not in C. C has INF
and C++ has NAN. C thinks that divided by zero is legal because the
answer can be expressed, while C++ don't. Other tricky thing is that C
supports both INF and -INF, and i think both of them are NAN in C++.
So for starters we should swap to INF rather then NAN, if we should
switch, but i have to do some more thinking on the subject.

I think one reason why MAX is better then INF, is that INF is easier
to accidentally send. People who accidentally send INF could be very
confused with what verse does.

Cheers

E


More information about the Verse-dev mailing list