Commit Graph

70 Commits

Author SHA1 Message Date
Jim Monte d3343b1791 Removed redundant macro 2020-03-15 08:50:55 +01:00
Kevin Zheng 6f20ec9929 patch to simplify compile for FreeBSD 2019-09-28 12:00:05 +02:00
Holger Vogt f2cfb9b359 add fourth parameter to cp_getvar() 2018-07-22 15:15:10 +02:00
Holger Vogt 2786fcb86e New .option seed=[val|random] 2018-07-22 15:11:44 +02:00
Holger Vogt 7ca61b3c98 New command 'setseed' with function com_sseed
to set the random number generator
2018-07-22 15:06:19 +02:00
Holger Vogt 09c876550f prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
2018-07-22 14:57:49 +02:00
rlar c900cc8824 drop ngspice internal implementation of erfc()
which these days is guaranteed to be provided by <math.h>

note,
  our own implementation was incorrect anyway.
  it evaluated to
    erfc_ngspice(x) = erfc(fabs(x))
2017-10-28 12:38:32 +02:00
rlar 15f2c67968 use M_PI 2016-10-15 15:06:17 +02:00
h_vogt 9f62057973 introduce include file "ngspice/randnumb.h" 2016-08-15 11:30:26 +02:00
Anthony J. Bentley 7a9abebfe7 remove unnecessary include of sys/timeb.h. 2014-01-02 09:26:23 +01:00
rlar aae92bf259 avoid overlapping "Dummy" symbols
reported by James Jackson in message:
  [Ngspice-users] Problem building git head --with-ngspice Mac OS X
2013-12-31 16:41:26 +01:00
Henrik Forstén 9c04f01991 rewrite AlmostEqualUlps() to avoid compiler warnings concerning `strict-aliasing' 2013-12-31 16:11:03 +01:00
rlar 6c8f002eea unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rlar 1ee88a5694 prepare for #ifndef include wrapper unification 2013-12-31 12:54:31 +01:00
rlar 83e3100917 remove unused variables 2012-12-01 16:05:20 +01:00
Francesco Lannutti 08ec219417 remove all .cvsignore files 2012-10-26 18:30:14 +02:00
Francesco Lannutti 1dc70189a7 remove compilation warnings (type casts) 2012-10-26 18:04:44 +02:00
rlar a394d79c56 use utf-8 encoding 2012-10-20 21:27:15 +02:00
rlar cb0a48801d introduce AM_CFLAGS = $(STATIC) 2012-07-07 14:51:39 +02:00
rlar 2e4d4a0e02 unuse srandom() and random() 2012-02-09 20:39:24 +00:00
rlar afa1371746 #3/6 config.h --> ngspice/config.h, AM_CPPFLAGS 2011-12-27 12:05:51 +00:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
rlar 11de01c304 swallow some warnings, and use <stdint.h> 2011-08-09 12:31:23 +00:00
h_vogt 6d7ee3632e remoce compiler warnings 2010-12-30 14:49:35 +00:00
h_vogt 1ea76af678 add statistical functions to numparam and nutmeg parsers 2010-12-28 19:01:30 +00:00
h_vogt 5fd49349f6 update to RTS noise 2010-12-19 11:05:03 +00:00
h_vogt f476389531 RTS noise 2010-12-18 17:05:44 +00:00
dwarning 3ab9e6d060 cvs ignore .libs 2010-12-12 09:42:47 +00:00
dwarning b964cf949c cvs ignore *.lo and *.la 2010-12-12 09:34:10 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +00:00
rlar 7f8ee8818e collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc' 2010-10-15 19:24:52 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar 4d31d2a12f some .c file local prototypes 2010-10-08 18:05:00 +00:00
rlar 001ad0c2bc `make dist' add some missing artifacts 2010-09-17 16:24:01 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
rlar d4946a6e81 convert K&R function definitions to ansi style 2010-09-07 20:11:13 +00:00
h_vogt d4fc5581d2 comments improved 2010-09-02 16:14:34 +00:00
h_vogt 453b565f71 improve random number generation 2010-09-01 21:13:01 +00:00
h_vogt 5c5bbe987d Tausworthe not ready under MINGW 2010-08-28 21:06:42 +00:00
h_vogt ba539d9ef1 new fcn sgauss(), new rnd-no generator 2010-08-28 18:13:08 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
rlar 0aa1c09d73 consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
  drop some include "variable.h" which are no longer needed ,
    propably many more could be droped .
  drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
rlar 5946300a97 upgrade foo() --> foo(void) ansi function definition 2010-06-23 18:57:13 +00:00
dwarning 8cae733fcd fix a conflict for isinf defined in missing_math.h 2009-02-12 19:33:50 +00:00
dwarning 91f10abc65 small polish regarding HAVE_DECL_XXX macros 2009-01-05 21:31:45 +00:00
dwarning c702897d13 correct HAVE_DECL_XXX asking 2009-01-04 20:36:25 +00:00
dwarning abc18c40f0 try to catch isinf over ieeefp.h 2009-01-04 13:23:58 +00:00