calc icon indicating copy to clipboard operation
calc copied to clipboard

C-style arbitrary precision calculator

Results 12 calc issues
Sort by recently updated
recently updated
newest added

Some calculations like 1/3 that results in ~0.33333333333333333333 or -1/3 ~-0.33333333333333333333 I believe it would be better to add a space, so that results shows like ~ 0.33333333333333333333 ~ -0.33333333333333333333...

enhancement

Hi @lcn2 . ```sh $ ldd calc ... libcalc.so.2.14.1.0 => ~/git/calc/libcalc.so.2.14.1.0 (0x00007fafa43dd000) libcustcalc.so.2.14.1.0 => ~/git/calc/libcustcalc.so.2.14.1.0 (0x00007fafa43d4000) ... ``` Shouldn't it link to the SO (MAJOR) version?: ```sh libcalc.so.2 => ......

enhancement

Hexadecimal floats are a formatting for floating point values supported in C since C99. It shows the mantissa in hex. This is useful because it shows the exact number with...

enhancement
help wanted

**Is your feature request related to a problem? Please describe.** "If B is a variable with positive status and assignment of B to A is permitted, execution of the assignment...

This is a synthetic double register size type, many architectures can compute twice as many bits from a multiplication, eg u64 * u64 = u128. `long long` have the same...

enhancement

When doing a division(e.g. `1/2`), the provided numerator is used. However when you don't specify the numerator(e.g. `/2`), `calc` assumes the numerator is 1 and process it with that value....

question

Right now, I have to instruct MacPorts not to do `make -jN` when building because parallel builds seem to consistently fail during configuration. I'm not sure if you have tested...

enhancement
help wanted

When compiling calc with clang on macOS AND with the following in Makefile.local: CFLAGS+= -fsanitize=address LDFLAGS+= -fsanitize=address Running 'make chk' results calc reporting: AddressSanitizer: heap-use-after-free See [issue.txt](https://github.com/lcn2/calc/files/7800019/issue.txt) for details. The...

bug
help wanted

This is a placeholder for TODO items needed to have the release calc version 3 (after calc 2.15.1.x is released and stable). Think of this TOOD list as a planned...

enhancement

This is an idea that has batted about here a bit; I'm writing this down to memorialize some thinking on its own. I don't expect this could actually be done...