Skip to content

Releases: RLH-2110/rustCalc

version 0.2

Choose a tag to compare

@RLH-2110 RLH-2110 released this 10 Apr 14:50
a4d4df4

Fixed bugs and added fixed point numbers

supported operations: +,-,*,/
you can write integer numbers from - 4294967295 to 4294967295
the result can range from -9223372036854775808 to 9223372036854775807 (assuming fixed point is disabled)

Parenthesis are supported.

You can now set the size of how many bits you want to use for fixed point (default 0)

Usage: ./calc.elf "4(2+3)"

[!note] the quotes are there to escape whatever bash is doing with the parentesis, the progamm does not handle quotes.

with setting the fixed point size:
./calc.elf -fp 5 2*0.5

Version 0.1

Choose a tag to compare

@RLH-2110 RLH-2110 released this 08 Apr 09:10
0b21ce3

First working release, needs to be tested more before I actually decide to make it 1.0

supported operations: +,-,*,/
you can write integer numbers from - 4294967295 to 4294967295
the result can range from -9223372036854775808 to 9223372036854775807

Parenthesis are supported.

Usage: ./calc.elf "4(2+3)"

[!note] the quotes are there to escape whatever bash is doing with the parentesis, the progamm does not handle quotes.