casevh

Results 150 comments of casevh

gmpy2.gamma() has a similar behavior. I vaguely recollect another report of this issue and it was a limitation of the MPFR library. I haven't found the details but I'll keep...

I found this comment in MPFR's gamma.c: if (u < 44787929UL && bits_fac (u - 1) p (resp. p+1 for rounding to nearest), then gamma(x) cannot be exact in precision...

It looks like a deeper issue: >>> t1=mpz(1) >> mpfr(t1) mpfr('1.196380724997376356710237763087067030291123782412927478906332372851427131104587e+40403562',256) >>> _*_ mpfr('1.431326839145247872477712623353078898059627334067519357500412952958814141885275e+80807124',256) >>> _*_ mpfr('2.048696520457526277391095958728021868321933030871131210018127684872659300422929e+161614248',256) >>> _*_ mpfr('inf') and >>> mpfr(123456.789)**63483756.2 mpfr('3.15691251903978272292764153590394795083483376196033776445078487109637376386208e+323228495',256) >>> mpfr(123456.789)**63483756.3 mpfr('1.019562878429473795214570128278084403612032953011088359304266502177487364234525e+323228496',256) >>> mpfr(123456.789)**63483756.4 mpfr('inf')...

@GBillotey Thank you! You gave me a nudge in the right direction. I'll try to look at it this weekend. BTW, fractalshades looks cool. casevh

Can you try compiling gmpy2 from source? After cloning the source, run the following command(s) using the "x64 Native Tools Command Prompt". py -3.12 setup.py build_ext --force bdist_wheel or py...

I just successfully completed a Windows build. I will make a few small updates and do an alpha release.

The (mostly) correct instructions are `mingw64/msys2_build.txt`. `docs/win_build.rst` should become the nicely formatted version of `msys2_build.txt`. I will delete `windows_build.txt`. I'll add to the Windows build document as time permits this...

I've updated `msys2_build.txt` and `msys2_64_shared.sh`. gmpy2 supports a C-API for supporting third party extensions. There is at least one Windows extension that uses it. See #320. To support that use,...

I have completed the fixes for --static which is most important for my testing. I think that is sufficient for b1. Test coverage is still poor. Any help would be...

For test coverage, I am using gcov/lcov. I currently use setup-legacy.py instead of setup.py. There are comments in setup-legacy.py and a supporting shell script call show-cov.sh located in the scripts...