ext_83623 ([identity profile] david jones) wrote in [personal profile] ewx 2008-06-06 08:23 am (UTC)

[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.

Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org