big variables with a bigger precision
Posted: Fri Jan 03, 2003 8:44 pm
I'm searching for very big primes and I need variables with a bigger precision then 16 digits(Double).
A double is a variable from 2,2e-308 to 1,8e308, but when you make a double with more then 16 digits(let's say 23), Qb just rounds the last 7 digits down.
I type:
12345678901234567890123
Qb changes it into:
1,234567890123456 * 10^23 , which means:
12345678901234560000000
see the difference? That's why I need a variable with a bigger precision. How do I make such a thing?
Rincewind
A double is a variable from 2,2e-308 to 1,8e308, but when you make a double with more then 16 digits(let's say 23), Qb just rounds the last 7 digits down.
I type:
12345678901234567890123
Qb changes it into:
1,234567890123456 * 10^23 , which means:
12345678901234560000000
see the difference? That's why I need a variable with a bigger precision. How do I make such a thing?
Rincewind