News for hackers. Stuff that matters.
Re:2-in-1 calculator app adds up to surprise hit for retired... by tzot on Tuesday September 20, 2022 @04:27PM (#32917339)
I think that my Android phone (a Chinese model with Android 11 Go) has the Android calculator, which IIRC was based on the old SGI Irix calculator.

If to the right of the 4 basic operators +, -, ×, ÷ you have a vertical strip (greenish in my case), you can slide it to the left and have access to various other operators/functions, including log.

Being based on the old SGI calculator, you can also slide any result to the left to get as many digits after the decimal point as you like.

e.g. slide in the extra ops, press π, then start sliding the 3.1415… result.

Re:2-in-1 calculator app adds up to surprise hit for retired... by aasasd on Wednesday September 21, 2022 @06:00AM (#32922835)
I think the guy was saying that you have to surround an expression with ‘log()’ to get the logarithm—which is inconvenient when it's a result of previous calculations and you have to shuffle the cursor around. Can't just slap ‘log’ and have the current expressions logarithmized.

However, seeing as the calculator allows writing expressions with multiple operations, just shoving everything on the screen into ‘log()’ would be unreasonable, as one might want to provide the exact place for the logarithm themselves—so I guess the app does the most reasonable thing it can.