Re: How large of a #can I use geometry
Hello everybody c:
if I have a number like the example below will visual studio 5 pro and the <math> or <cmath> library allow it to work and if I code it correctly (my function) will it deliver radians like 0.->15 decimal places long?
Example#: 463526353645364747845758748753629578458295748943889
using atan or tan or even * or /?
Thanks so much, I appreciate any advice.
PCB
Re: How large of a #can I use geometry
If you use 64 bit integers, you are limited to 64 bit numbers.
If you want longer numbers you need a BigInt class. Search the articles on www.codeguru.com, I'm sure there is a BigInt class somewhere.
Re: How large of a #can I use geometry
Quote:
If you want longer numbers you need a BigInt class.
One such library is the GMP.
EDIT:
Oh wait, GMP does not support those trigo functions, so you would need to use it with the MPFR add-on library.