[X] at the Python interactive prompt (which I have several of lying around my workspaces for precisely this purpose). [X] with Windows' shit-for-brains calculator on my phone. [X] in my notebook.
I have a peculiar habit of never opening the payslips delivered to my desk at work, because that risks reducing the amount of space available on the back of the envelope, and increases the chance of the envelope getting thrown away by the cleaners.
It's a sad time of the month when the payslip envelope is completely filled and I have to resort to the backs of timesheets, or, as a last resort, an interactive prompt. Maybe I need to sign myself up for more junk mail at work.
[x] with the aid of Google's calculator function (it knows many more useful numbers than most other handy calculating tools). Or sometimes on whatever paper happens to be around.
david jones (from livejournal.com)2008-06-06 08:23 am (UTC)(link)
[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
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
no subject
(no subject)
(no subject)
(no subject)
(no subject)
no subject
[x] with bc
(no subject)
(no subject)
no subject
(no subject)
no subject
no subject
[X] with Windows' shit-for-brains calculator on my phone.
[X] in my notebook.
(no subject)
no subject
It's a sad time of the month when the payslip envelope is completely filled and I have to resort to the backs of timesheets, or, as a last resort, an interactive prompt. Maybe I need to sign myself up for more junk mail at work.
no subject
no subject
p
(Thinking is easier on paper, especially as soon as you want a diagram)
no subject
*is more ashamed than proud of this*
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
(no subject)
(no subject)
no subject
no subject
(no subject)
no subject
no subject
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.