Skip to main content
2 votes
0 answers
115 views

Context I'm implementing a Julia set fractal renderer using CubeCL (a Rust GPU compute framework). I want to achieve "infinite zoom" similar to deep Mandelbrot zoom videos, which requires ...
Marco Fanelli's user avatar
1 vote
1 answer
60 views

TL;DR: In Emacs Lisp, is the sign of a fixnum part of its binary representation or stored in some metadata? What's the distinction between positive and negative fixnums? Can the sign be switched in ...
vmonteco's user avatar
  • 15.9k
0 votes
0 answers
41 views

I am writing a program called moments++ (https://github.com/gvbarroso/momentspp). This program uses Eigen 3.4. Some scenarios lead to precision issues in the matrices (using long double). Thus, I want ...
gvbarroso's user avatar
0 votes
0 answers
32 views

I have the following code where I try to use fmpz_t to prime factor rationales of a system constant. /* gcc -I/usr/local/include/flint -o arb arb.c -lflint */ # include "arb.h" ...
artless-noise-bye-due2AI's user avatar
0 votes
2 answers
198 views

Fiddle select 5.0 / 2 , pg_typeof(5.0 / 2); pg_typeof 2.5000000000000000 numeric Why the result is 2.5000000000000000? When we insert 2.5 into a numeric column or select 2.5 from a numeric column ...
Bek's user avatar
  • 27
1 vote
1 answer
64 views

Boost multiprecision libraries highest value possible Can the boost multiprecision handle values as large as googolplex , like maybe the boost multiprecision cpp dec float library? So can someone ...
Divye Sharma's user avatar
0 votes
0 answers
47 views

I have a recursive computation code of mine (containing only simple +, *, exp, etc arithmetic on complex valuated numbers) that starts to loose precision when increasing the depth of iterations and I ...
CitizenInsane's user avatar
0 votes
1 answer
44 views

I need to store some really tiny positive and negative numbers in Matlab. One way is to store their signs separately, and the log10 of their magnitude, which lets me store numbers as small as 10^(-...
Abhranil Das's user avatar
  • 5,946
2 votes
3 answers
162 views

I'm currently writing an arbitrary precision library for fun (yes, I know that GMP exists) and I'm using it to generate large prime numbers (~5000 digits) with the Miller-Rabin primality test. I ...
Andrew Kornder's user avatar
0 votes
1 answer
65 views

edited because my main issue lies with incorrect results from mp.math. I need to eventually do very precise calculations with complex numbers, which is why I am trying to use the mp module from mp....
SFtigs's user avatar
  • 3
3 votes
1 answer
402 views

Regarding arbitrary precision arithmetic: Can AVX-512 be used to calculate the multiplication of two 256-bit Integers on a 64-bit computer in C++? Is there an intrinsic Integer data type of 512 bits ...
Snowy Owl's user avatar
-1 votes
2 answers
240 views

I have a constant 0.29289321881345247559915563789515..., which can be calculated using the equation (1 - SQRT(0.5)) and then transformed into fixed-point format in order to be used with various sizes ...
Kittoes0124's user avatar
  • 5,102
0 votes
0 answers
72 views

i am using java big decimal. but still i am not getting expected result.. public class DecimalAdjustEx { public static void main(String[] args) { BigDecimal v1 = new BigDecimal("100&...
srikanth m's user avatar
1 vote
1 answer
288 views

I want to find powers of a relatively small matrix, but this matrix consists of rational numbers of type Rational{BigInt}. By default, Julia utilizes only a single thread for such computations. I want ...
Yrogirg's user avatar
  • 2,403
2 votes
1 answer
85 views

For a statistics application, I need to evaluate tiny chi-square probabilities. But when this becomes smaller than matlab's double-precision limit realmin (around 1e-308), it returns 0. x=50; p=...
Abhranil Das's user avatar
  • 5,946

15 30 50 per page
1
2 3 4 5
23