Code Monkey home page Code Monkey logo

rpncalc's People

Contributors

apesic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wviana

rpncalc's Issues

Precise floating point math

Binary floating point math is imprecise when dealing with decimal numbers, for example 1.1 0.5 - is calculated as 0.6000000000000001. This could be solved if the numbers are represented as rational internally, because rational numbers use integer math.

This library, for example, provides computations on rational numbers.

I hope this won't be too much trouble to implement, and thank you for making this app :)

use Material You 3 theme

it will improve the interface. Also, it includes a wallpaper-based application color. And an automatic dark or light theme, based on the device settings.
right now your app is ugly compared to the alternatives.

Incorrect results for high precision division operations

I tried to solve 20 / (641 / 60) and calculated the part in brackets first: 641 enter 60 enter divide 20 enter switch divide

The result was 1.0, which is clearly not correct.

Is there a mistake here with the rounding?

I am using version 1.3.1.

Adjustable stack font size and vertical paddings

Thank you for fixing the disappearing buttons (#1)!

But now I encounter another problem: I can only see two elements of the stack + the input line
Screenshot_20210201-115251

May I suggest, that

  • the font size in the stack is configurable
  • the vertical padding of the buttons (and in the stack?) is configurable

If I could remove the vertical padding of the buttons, I could vertically shrink the keyboard and thus increasing the available vertical space for displaying the stack.

Add commas

or periods or whatever the locale calls for

Pressing remove crashes UI

Pressing remove (appears after holding) on the active line crashes UI.

rpncalc version 1.2.0 from the fdroid, android 11

UI issue + feedback

Hello,

I just created a GitHub account to give you some feedback on your application. I recently discovered it while searching for RPN calculators on F-Droid.

First, I have an issue with the bottom of the screen. The “Back/Home/Apps” bar of Android is overlapping the bottom of the view, making the 0, comma, Erase and Enter buttons smaller and hard to read. See picture bellow:
Screen RPN

Second, you included a “1/X” button, but I would have preferred an exponent button. Inverse is pretty limiting, whereas exponent are often used, can cover roots… or even inverse. I know this is a bit nerdy, but I guess non-nerdy people don’t use RPN in the first place.

Otherwise, I think it’s a very elegant application. I really like the colour and size of the buttons, fonts are clean, you don’t feel overwhelmed like on some apps that try to emulate old HP calculators.

All negative numbers are displaying as exponents

Stock Pixel 6. F-droid install v1.3.0.

  1. Pressing the ± button changes a 36 to -3.6E1.
  2. Any negative numbers generated by a calculation also display as exponents.

Thanks! Nice to see I'm not the only one who likes RPN!

Math that is more wonky than IEEE754

Some interesting observations:

  1. You can achieve Infinity by entering any non-zero number, then pressing ^ret and × repeatedly
  2. Infinity ^ret results in 0
  3. Infinity Infinity × results in 0
  4. ^any_number 0 ÷ crashes UI
  5. pressing 9 ^ret yⁿ ^ret yⁿ results in a UI lockup
  6. Infinity Infinity yⁿ does the same
  7. You can achieve 0.00000000e+0 by pressing 1 ^ret 2 ^ret 1024 yⁿ ÷
  8. You can achieve NaN by acquiring 0.00000000e+0 and pressing ^any_non_zero_number +
  9. NaN has similar properties to Infinity
  10. Infinity NaN - or + or ÷ results in NaN, but Infinity NaN × results in Infinity

Seems that it was caused by: #5

Very cool calculator BTW

rpncalc version 1.2.0 from the fdroid, android 11

Thanks

Thanks for the nice app.

Advanced functions

Hey. It'd be cool if we had trigonometric functions, a square root key, logarithms, and maybe even things like permutations and combinations. I suppose the UI could take inspiration from the android calculator.

Can't handle exponents with repeating decimals

Basically I'm trying to calculate 2^(1/24),

Screenshot_۲۰۲۱۱۲۰۳-۲۳۴۳۴۴

but after this button press on the yˣ button,

Screenshot_۲۰۲۱۱۲۰۳-۲۳۴۳۵۰

the app freezes, and any subsequent button presses turns the whole screen grey.

It's a different story entirely with a simpler exponent like 2^(1/4)

Hangup on division

Hello

App hangs up when dividing number ending in two zeroes by .4

outt.mp4

Android version: 13
RPNcalc version: 1.3.1 (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.