[X] in my logbook [X] in awk (and [X] Python, and [X] JavaScript interactive prompt, and [X] Lisp) [X] in dc
I used awk sufficiently often that I wrote a very short wrapper around it to evaluate and print a single expression.
and very occasionally: [X] in C which is to say I'll actually write a complete program in C to do some throwaway calculation.
These days I seem to be inspecting the behaviour of floating point arithmetic a lot. For that, JavaScript is surprisingly useful because: a) 64-bit IEEE double guaranteed; and, b) parsimonious printing of floating point values so you get exactly the right number of decimal digits printed.
no subject
[X] in awk (and [X] Python, and [X] JavaScript interactive prompt, and [X] Lisp)
[X] in dc
I used awk sufficiently often that I wrote a very short wrapper around it to evaluate and print a single expression.
and very occasionally:
[X] in C
which is to say I'll actually write a complete program in C to do some throwaway calculation.
These days I seem to be inspecting the behaviour of floating point arithmetic a lot. For that, JavaScript is surprisingly useful because: a) 64-bit IEEE double guaranteed; and, b) parsimonious printing of floating point values so you get exactly the right number of decimal digits printed.