define NAN for non C99 environments
This commit is contained in:
parent
9e3436004f
commit
b4424c9d2c
|
|
@ -1,3 +1,7 @@
|
|||
2012-01-28 Robert Larice
|
||||
* src/include/ngspice/ngspice.h :
|
||||
define NAN for non C99 environments
|
||||
|
||||
2012-01-28 Holger Vogt
|
||||
* configure.ac, compile_min.sh: prepare for release 24
|
||||
* mifdelete.c: prevent crash upon 'reset', if codemodel is an array
|
||||
|
|
@ -8,8 +12,8 @@
|
|||
prepare for release 24
|
||||
|
||||
2012-01-24 Dietmar Warning
|
||||
* src/spicelib/devices/bjt/bjttemp.c: Add temperature dependent
|
||||
junction potentials also for tlevc=1 capacitor temperature model
|
||||
* src/spicelib/devices/bjt/bjttemp.c: Add temperature dependent
|
||||
junction potentials also for tlevc=1 capacitor temperature model
|
||||
|
||||
2012-01-15 Robert Larice
|
||||
* src/spicelib/devices/hisim2/hsm2eval.c ,
|
||||
|
|
|
|||
|
|
@ -182,6 +182,10 @@
|
|||
#pragma warning(disable: 4127)
|
||||
#endif
|
||||
|
||||
// for non C99 environments
|
||||
#if !defined(NAN)
|
||||
#define NAN (0.0/0.0)
|
||||
#endif
|
||||
|
||||
/* Fast random number generator */
|
||||
//#define FastRand
|
||||
|
|
|
|||
Loading…
Reference in New Issue