rlar
08ad3f6ab5
dvec abstraction, #1/11, reorder
10 years ago
rlar
d632e3314d
frontend/parse.c, PP_mknnode(), reorder
10 years ago
rlar
876086f768
fix commit "frontend/parse.c, bug fix, PPlex(.."dc1.@m1[vth][1]"..)"
which broke
let something = foo[var]
notably used in
examples/Monte_Carlo/MC_ring.sp
10 years ago
rlar
29dde7206a
frontend/parse.c, introduce `alloc_pnode()'
11 years ago
rlar
45117c94fd
drop yyparse() prototypes, require bison >= 2.7 which emits them
11 years ago
rlar
a5f933b3ec
frontend/parse.c, bug fix, PPlex(.."dc1.@m1[vth][1]"..)
The whole string was lexed into only one TOK_STR
instead of the actual (quasi) identifier "dc1.@m1[vth]"
11 years ago
rlar
1c6efd9481
polish bison/flex makefile rules
11 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 years ago
rlar
c6a8429258
src/maths/cmaths, implement `nint()' (.control language)
12 years ago
rlar
2602a492b2
fix `log' in `B' and in `.control', to base e instead of 10
In the B language this can be considered a bug fix.
In the .control language this is a severe change
and breaks backwards compatibility.
In all three languages 'numparam' 'B' and '.control' we now have
ln to the base e
log to the base e
log10 to the base 10
Thus log and log10 is now consistent
with the vast majority of programming languages.
ln is merely for convenience.
very few other languages have it.
I'd like to discourage its usage.
12 years ago
rlar
99eade8ec9
cleanup, rename cx_ln --> cx_log (.control language)
12 years ago
rlar
c926f46986
cleanup, rename rename cx_log --> cx_log10 (.control language)
12 years ago
Y.Niitsu
6e3f60c6bd
frontend/parse.c, allow nested `indexing', for example foo[bar[n]]
.control
compose ex1 values 111 222 333
compose ex2 values 1 2 3
print ex1 ex2 ex1[ex2[1]]
.endc
12 years ago
dwarning
075b620a86
introduce `cx_sortorder()' function
13 years ago
dwarning
4635a19ba9
introduce unwrap, minimum and maximum function
13 years ago
dwarning
6a3da0105b
fft and ifft as vector functions
13 years ago
rlar
f038d59fbe
mkfnode(), fix a memory leak
14 years ago
rlar
01ed0ac5d9
com_fft(), com_psd(), com_spec(), cleanup storage more thoroughly
use free_pnode() instead of free_pnode_o()
drop free_pnode_o()
14 years ago
rlar
ae5de92c69
cleanup db_print_pnode_tree()
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
15bda2b9e0
fix memory leak in PPparse()
14 years ago
rlar
f285dd0aa8
use strchr() instead of index()
14 years ago
h_vogt
75767fcc3d
floor(), ceil() added
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
h_vogt
2651fe4801
fuction cph(vector)
15 years ago
h_vogt
4679fdf046
sinh, cosh, tanh
15 years ago
h_vogt
1ea76af678
add statistical functions to numparam and nutmeg parsers
15 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
21a31ab2c2
tiny rewrite, make use of strtolower() and strtoupper()
16 years ago
rlar
7b3960506f
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
16 years ago
rlar
882b3b4155
add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...)
16 years ago
rlar
e945ab68bc
collect some cx_*() prototypes in "cmath2.h"
16 years ago
rlar
9e75489e9f
consider the op_*() functions to be less public
16 years ago
rlar
f7c8eb1d2a
muffle some visual-C warnings
16 years ago
dwarning
03d91ab8b0
new function sunif()
16 years ago
h_vogt
ba539d9ef1
new fcn sgauss(), new rnd-no generator
16 years ago
rlar
010e046e6b
work around a segmentation fault, plot .. vs vec
16 years ago
rlar
d074de41f2
fix the type signature of the cx_* functions
16 years ago
rlar
4102c27164
fix function pointer initialization
16 years ago
dwarning
5fcf9c2afe
ternary operation in control blocks
16 years ago
h_vogt
288e0b7214
patches R. Larice
16 years ago
h_vogt
f4c54eada1
line 922 removed: no automatic deletion of @xxx[par]
17 years ago
pnenzi
f543aa8c06
Improvements in vector derivative computation and new functions to
17 years ago
h_vogt
7c266142cc
reintroduce old free_pnode as free_pnode_o
18 years ago
pnenzi
008c9d7a4c
Improved reporting (from Phil Barker)
19 years ago
sjborley
476f60255e
Spotted error in my previous fix to this file, now corrected.
21 years ago
sjborley
cbdd811aa5
Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes.
21 years ago