Hi Gianluca,

>         1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN

this is a general question,

see http://en.wikipedia.org/wiki/SIGFPE

in Visual studio try to use


// Unmask all floating-point exceptions.
   _control87( 0, _MCW_EM );
  // Set up floating-point error handler. The compiler
  // will generate a warning because it expects
  // signal-handling functions to take only one argument.
  if( signal( SIGFPE, (void (__cdecl *)(int)) fphandler ) == SIG_ERR )
   {
      fprintf( stderr, "Couldn't set SIGFPE\n" );
      abort();
   }



see complete example here
http://msdn.microsoft.com/en-us/library/kfy34skx%28v=vs.80%29.aspx

or similar approaches
http://msdn.microsoft.com/en-us/library/e9b52ceh%28v=vs.80%29.aspx

ask platform related groups for more clarifications ( but on gcc the first
link would suffice )

Regards
Sergey
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to