some cc needs double for isinf macro
This commit is contained in:
parent
af03646462
commit
31b74d12d5
|
|
@ -3,7 +3,10 @@
|
|||
<!--
|
||||
$Id$
|
||||
$Log$
|
||||
Revision 1.14 2007-07-23 17:24:14 dwarning
|
||||
Revision 1.15 2009-01-01 20:48:48 dwarning
|
||||
some cc needs double for isinf macro
|
||||
|
||||
Revision 1.14 2007/07/23 17:24:14 dwarning
|
||||
unique limexp behaviour
|
||||
|
||||
Revision 1.13 2007/07/05 10:20:47 r29173
|
||||
|
|
@ -132,14 +135,14 @@
|
|||
#endif
|
||||
|
||||
#define EXIT_IF_ISNAN(var) \\
|
||||
if(isnan(var)) \\
|
||||
if(isnan((double) var)) \\
|
||||
{ \\
|
||||
printf("%%s:%%i:bug:isnan:"#var"\\n",__FILE__,__LINE__); \\
|
||||
printf("Please send this message to laurent.lemaitre@freescale.com\\n"); \\
|
||||
NGSPICE_DEBUG \\
|
||||
exit(1); /*__asm__ __volatile__ ("int \$03");*/ \\
|
||||
} \\
|
||||
if(isinf(var)) \\
|
||||
if(isinf((double) var)) \\
|
||||
{ \\
|
||||
printf("%%s:%%i:bug:isinf:"#var"\\n",__FILE__,__LINE__); \\
|
||||
printf("Please send this message to laurent.lemaitre@freescale.com\\n"); \\
|
||||
|
|
|
|||
Loading…
Reference in New Issue