calcium icon indicating copy to clipboard operation
calcium copied to clipboard

Exact real and complex numbers in C

Results 25 calcium issues
Sort by recently updated
recently updated
newest added

Same as https://github.com/flintlib/flint2/pull/1215

The larger (n=4) brother of the Tribonacci constant. Just because I had the Wolfram paper already open ... might be useful for someone some day.

As briefly mentioned in PR #42 I tried to streamline the golden ratio a bit. Most interesting part might be the explicit public API function `ca_phi`. Feel free to cherry-pick...

Implementation of the Tribonacci constant via radicals.

I was considering updating flint in Debian to 2.9.0, but it looks like it breaks calcium's package. Running `./configure` then `make` is ok, but trying `make check` gives: ``` python3...

The ```tests``` target only builds them.

This is super slow: >>> from pyca import * >>> a = 417/(962*pi+80808) >>> a**50 - a**51 * a**-1 Of course, it works well when increasing POW_LIMIT so that the...

v = cos(acos(sqrt(2) - sqrt(3))/3) assert 1 - 90*v**2 + 321*v**4 - 592*v**6 + 864*v**8 - 768*v**10 + 256*v**12 == 0 This equality test interestingly enough works; however, v is...

There is a ca_hash_repr which hashes the internal representation of a ca_t. More interesting is to have a genuine hash function C -> Z to allow using hash tables to...