rlar
aeec110c64
inpcom.c, cleanup `inp_sort_params()'
11 years ago
rlar
726f1d3fb8
inpcom.c, teemper bug fix, rewrite `inp_functionalise_identifier()'
do not compare against `VALIDCHARS'
which is much to broad with respect to our operators
11 years ago
rlar
9579b78091
inpcom.c, inp_fix_temper_in_param(), abstraction, introduce `inp_functionalise_identifier()'
11 years ago
rlar
ff613c3c41
inpcom.c, abstraction, yet another `ya_search_identifier()'
11 years ago
rlar
c5e0bcde04
cleanup using `hypot()'
11 years ago
rlar
eafa0a9bed
inpcom.c, use backwards protected `skip_back_ws_()'
12 years ago
rlar
e0859d78c0
inpcom.c, rewrite `inp_fix_temper_in_param()'
11 years ago
rlar
7524ad2ee6
src/misc/string.c, rewrite using `copy_substring()'
12 years ago
rlar
45cfdde701
src/frontend/plotting/plotit.c, plotit(), fix command line buffer overflow
11 years ago
rlar
d18d2a935c
src/frontend/variable.c, rewrite `cp_variablesubst()'
11 years ago
rlar
33d33e9d50
src/frontend/variable.c, fix expansion of '$var' when $var is an empty list
test case:
set foo = ( )
set foo = ( $foo baz bar )
echo $foo
11 years ago
rlar
bd441171a7
inpcom.c, inp_fix_param_values(), bug fix, #295 .model fails when a literal numerical parameter value starts with a '+'
12 years ago
rlar
5e76305ffa
inpcom.c, inp_modify_exp(), bug fix, enforce precedence when numparm substitutions come into play
12 years ago
rlar
30742f30a4
inpcom.c, inp_modify_exp(), bug fix, #294 B source failure when using an unary minus
12 years ago
rlar
c79d2482ae
inp_modify_exp(), remove operator rewrite `**' --> `^'
Thats implemented in the lexer for B expressions,
( `PTlex()' in src/spicelib/parser/inpptree.c )
12 years ago
rlar
70ad8cce5f
inp_modify_exp(), cleanup #17/17, polish while loop
12 years ago
rlar
aa05b6f095
inp_modify_exp(), cleanup #16/17, whitespace
12 years ago
rlar
b37db50aed
inp_modify_exp(), cleanup #15/17, use postincrement
12 years ago
rlar
b58c8252cc
inp_modify_exp(), cleanup #14/17, reduce scope of `buf'
12 years ago
rlar
e1f8344bae
inp_modify_exp(), cleanup #13/17, rename `ustate' --> `state'
12 years ago
rlar
970b5ed772
inp_modify_exp(), cleanup #12/17, rename `actchar' --> `c'
12 years ago
rlar
88a01bfd68
inp_modify_exp(), cleanup #11/17, rename `str_ptr' --> `s'
12 years ago
rlar
b023f36dbb
inp_modify_exp(), cleanup #10/17, use tprintf()
12 years ago
rlar
2992d6b416
inp_modify_exp(), cleanup #9/17, use `int' for `i'
12 years ago
rlar
ca767ef08f
inp_modify_exp(), cleanup #8/17, use an enum for `ustate'
12 years ago
rlar
c792f344bb
inp_modify_exp(), cleanup #7/17, use postincrement
12 years ago
rlar
381b5d9ec1
inp_modify_exp(), cleanup #6/17, rewrite
12 years ago
rlar
49c233029a
inp_modify_exp(), cleanup #5/17, local scope for variables
12 years ago
rlar
6bc63f798d
inp_modify_exp(), cleanup #4/17, cleanup for loop
12 years ago
rlar
74954fbcfe
inp_modify_exp(), cleanup #3/17, drop `new_str'
12 years ago
rlar
3d842352aa
inp_modify_exp(), cleanup #2/17, remove redundant assignments
12 years ago
rlar
3fc7b99292
inp_modify_exp(), cleanup #1/17, use tprintf()
12 years ago
rlar
87960d52b4
inpcom.c, use tprintf() to simplify code in inp_bsource_compat()
12 years ago
rlar
8b04ff6b7c
inpcom.c, use inp_modify_exp() to remove duplicated code in inp_bsource_compat()
12 years ago
rlar
5464859ebb
inpcom.c, inp_bsource_compat(), shrink brace removal to the actual b-expression
12 years ago
rlar
5550d53512
inpcom.c, inp_bsource_compat(), fix an assertion
12 years ago
rlar
71a1b27a23
inpcom.c, inp_modify_exp(expr), offload tfree(expr) to the invoker
12 years ago
rlar
1f9cf0b6b5
inpcom.c, bug fix, #293 Bug in .option rseries = <value> with parallel inductors
reported by João Alberto and Andy Fierman in
http://sourceforge.net/p/ngspice/bugs/293/
12 years ago
rlar
254be00842
src/frontend/postcoms.c, cleanup, unused variable `appendwrite'
12 years ago
rlar
e08dcafbe9
cleanup, signature of CKTacDump() and CKTdump(), void* --> runDesc*
12 years ago
Jim Holmes
85ae073471
src/frontend/postcoms.c, bugfix, write/save an xspice `event' node
In function EVTfindvec() XSPICE can create
a `dvec' with a non NULL `v_scale' slot.
This special scale with name "step"
differs from the current plot `pl_scale' slot
and triggered ancient buggy code here.
12 years ago
rlar
5c97e31049
cleanup, use '\0' and NULL
12 years ago
rlar
0865747d88
numparam/mystring.c, cleanup functions which return `void'
12 years ago
rlar
c6a8429258
src/maths/cmaths, implement `nint()' (.control language)
12 years ago
rlar
9e72296e40
src/spicelib/parse, implement `nint()' (`B' 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
abfd38b535
B language, introduce `log10'
12 years ago
rlar
88bc7874f0
numparm, introduce `log10'
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