Donate Share

calc: C-style arbitrary precision system

Show:

What's happening?

  • fpos_t is not necessarily a scalar

    Hence: gcc -DCALC_SRC -DCUSTOM -Wall -W -Wno-comment -fPIC -O3 -g3 -c -o file.o file.c file.c: In function `filepos2z': file.c:1366: error: incompatible types in assignment here on a: calc-2.12.4.0$ uname -a Linux linmac 2.6.23-exp #1 Thu Oct 11 07:23:51 MSD 2007 ppc GNU/Linux.

    2009-10-13 22:36:27 UTC by nobody

  • C++ wrapping for boost

    The templatized boost libraries provide computing of special functions (gamma, statistical fi), for any kind of 'real' numbers A wrapping C++ class around calc would allow to use these function easily. Has somebody developed something like this ?.

    2009-06-02 09:15:28 UTC by jplaedermann

  • Is there a euler constant function?

    Is there a euler constant (e = 2.718...) function? I've found both euler() and freeeuler() builtin functions, but they both seem to be completely unrelated. There is a pi() function that returns the pi constant, it seems unlikely that there would not be a builtin for e. So is there one? How do I use it?.

    2009-01-26 03:53:44 UTC by wk2

  • how to print the result in binary format?

    Hi guys, thanks for developing apcalc. I don't know how to print the result in binary format. Please help. thanks! Steve.

    2008-10-26 16:35:53 UTC by nobody

  • calc 2.12.4 release

    Fixed a bug where calling functions with different values of epsilon would return incorrect results. Fixed a bug were certain typos in interactive mode would cause calc to exit. Fixed a bug in solve.cal. Make minor documentation improvements. Improved the Makefile / build process. See: http://www.isthe.com/chongo/src/calc/CHANGES for details.

    2008-10-24 10:23:54 UTC by lcn2

  • Comment: mistyped method name causes crash

    Fixed in calc version 2.12.4 (to be released soon). Thank you for your report.

    2008-10-24 09:54:23 UTC by lcn2

  • Comment: Potential fixes for list bug

    Fixed in calc version 2.12.4 (to be released soon). Thank you for your report.

    2008-10-24 09:02:35 UTC by lcn2

  • twos complement and fraction bits

    It would be nice to have the posibillity to print out numbers in two's complement format. e.g.: 1 results in 0b0001 and -1 results in 0b1111 also nice would be to print fraction binary digits with a decimal point e.g.: 1/8 results in 0b0.001 regards Bert.

    2008-05-29 09:44:38 UTC by nobody

  • Comment: Try this with lists, it crashes

    Bug #1851466 contains the issue found in this bug report, so we will treat this as a duplicate bug.

    2008-05-10 13:55:54 UTC by lcn2

  • Comment: Potential fixes for list bug

    This is a duplicate bug report of #1851466.

    2008-05-10 13:54:10 UTC by lcn2