Friday, June 15, 2007

Engineering notation

We developers have been talking about an engineering notation mode in SpeedCrunch for some time. I finally took the time and mood to implement it. Next version will make some people's life a bit easier, I guess. Like most scientific calculators, now we have the following behaviour when in engineering notation mode:

sqrt(sin(pi/3))
930.60485910209959894122e-3

Unlike scientific notation, already supported by the application for some time, the result will always be set so the exponent is a multiple of 3 and the number of integer digits are up to 3. Further support for engineering and inverse engineering functions and buttons will probably be added, so to make the following possible:

0.93060485910209959894122
930.60485910209959894122e-3
eng
930604.85910209959894122e-6
eng
930604859.10209959894122e-9

Maybe we can even add the option to show SI prefixes instead of exponents:

0.93060485910209959894122
930.60485910209959894122 mili
eng
930604.85910209959894122 micro
eng
930604859.10209959894122 nano

Now if I only had SpeedCrunch when I had to study electronics, physics and chemistry...

No comments: