rlar
84761c125f
fix erfc() usage in cider
cider relied on our broken ngspice variant of erfc() which behaved as
erfc_ngspice(x) = erfc(fabs(x))
Note:
apart from cider, erfc is used in
devices/ltra/ltramisc.c
always with positive argument
and
src/frontend/spec.c
again always with positive argument
Thus, the difference in implementation
never mathered anywhere except in cider
9 years ago
h_vogt
d84387d449
CIDER, use controlled_exit(1) instead of exit(1)
9 years ago
rlar
9dcf62e1cd
drop home grown mathematical constants
10 years ago
rlar
141ed61ec8
use memcpy() instead of deprecated bcopy()
10 years ago
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
10 years ago
rlar
9546b178fb
drop macro `NEW', use TMALLOC instead
10 years ago
rlar
053a56e267
src/ciderlib/oned/onesetup.c, bug fix, access beyond array bounds
10 years ago
rlar
c5e0bcde04
cleanup using `hypot()'
11 years ago
rlar
4049e8ec1f
rewrite, using IFerrorf()
12 years ago
rlar
ea7372efe7
rewrite, useing IFerrorf()
OUTerror() and IFerror() are no more used,
but kept for compatibility
12 years ago
rlar
7381081226
ciderlib, proper types for newCard(), setCardParm(), askCardQuest()
13 years ago
rlar
ccb600f3c1
drop `NIL' macro
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
rlar
c377b7a6b3
avoid leading underscore in preprocessor macros
13 years ago
Francesco Lannutti
08ec219417
remove all .cvsignore files
14 years ago
rlar
cb0a48801d
introduce AM_CFLAGS = $(STATIC)
14 years ago
rlar
a056ea3065
#3/4 switch realpart() and imagpart() args from ngcomplex* to ngcomplex
14 years ago
rlar
afa1371746
#3/6 config.h --> ngspice/config.h, AM_CPPFLAGS
14 years ago
rlar
0b5042e7da
remove CVS `Id',`log' etc. keyword incantations
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
14 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
0cf889d590
twoprint.c, swallow warnings
15 years ago
rlar
2c60f3892c
use #include <inttypes.h> to platform independent print 'size_t' variables
15 years ago
rlar
65dc17b693
oneadmit.c twoadmit.c, uninitialized variable warning
15 years ago
rlar
1041ecf8d0
suprmitf.c, uninitialized variable warning
15 years ago
rlar
34b8ee4cca
tiny rewrite, swallow type conversion warnings
15 years ago
rlar
10615d5e73
tiny rewrite, (integer + integer)/2
15 years ago
h_vogt
e6c86b4d98
explicit casting double -> int etc.
15 years ago
rlar
23056573d8
code cleanup, drop NULL pointer casts
15 years ago
rlar
d602e0b75c
attract gcc's attention to some printf format strings (for type checking)
16 years ago
rlar
05441d5823
Nr 5/5 (x = ...) == NULL , swallow warnings
16 years ago
rlar
ad8ad56955
Nr 3/5 (x = ...) != 0 , swallow warnings
16 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
6b5debfc1e
use `NUMELEMS' and add some `(int)' casts
16 years ago
rlar
01566f2b49
add casts to make `int' versus `size_t' conversions explicit
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
d0b7dae2e8
remove local prototypes, which are already included
16 years ago
h_vogt
32c134f481
#include "../misc/tilde.h"
16 years ago
rlar
e3cdd8ee4d
visibility for the printVoltages() prototype
16 years ago
rlar
bdd308ede7
visibility for tildexpand() prototyp
16 years ago
rlar
2540531c38
remove local prototypes, which are allready included
16 years ago
rlar
47472b867b
prototypes, make use of "cidersupt.h"
16 years ago
rlar
fda6aafc9f
additional #includes for prototype visibility
16 years ago
rlar
3d9a742802
remove some stuttered prototypes
16 years ago
rlar
68b2e6b23a
whitespace cleanup (all Makefile.am files)
16 years ago
rlar
4cdd842cd8
muffle compiler warnings
16 years ago
rlar
9da90f5329
use the type SMPmatrix instead of char *
remove some redundant forward function declarations
remove some redundant nested function declarations
16 years ago
rlar
463ef4a3b1
convert K&R function definitions to ansi style
16 years ago
rlar
a120a5d049
drop the casts for pointer arguments of bcopy() and bzero()
16 years ago