Highest value datatype can store in c#

Posted by user472832 on Stack Overflow See other posts from Stack Overflow or by user472832
Published on 2011-02-13T23:22:15Z Indexed on 2011/02/13 23:25 UTC
Read the original article Hit count: 164

Filed under:

I am writing a small program for my assignment to find the primitive roots of a prime number. So far, the program works for smaller prime numbers till 13 and gives correct number of roots. But for higher primes numbers, it is showing only fewer primitive roots. And now i got stuck for the prime number 41, shows no primitive roots for it. I used DOUBLE datatype for the calculation, and again tried with the datatype DECIMAL, but no luck. Does anyone know about this kind of problem??? Thank you.

© Stack Overflow or respective owner

Related posts about c#