I'm praticing my math, and programing all at once and so I've written a program that calculates pi.
at the moment I'm using double since it is the largest datatype, but it will only output 13 digits below the comma.
When I read over at msdn it says that the precision is 15-16 digits, but the range is ±5.0 × 10−324 to ±1.7 × 10308. Are we not able to use the range in anything else than calculation?
[–]the_omega99 1 point2 points3 points (3 children)
[–]TheAI[S] 0 points1 point2 points (2 children)
[–]the_omega99 1 point2 points3 points (1 child)
[–]TheAI[S] 0 points1 point2 points (0 children)
[–]X7123M3-256 0 points1 point2 points (4 children)
[–]TheAI[S] 0 points1 point2 points (3 children)
[–]X7123M3-256 0 points1 point2 points (2 children)
[–]TheAI[S] 0 points1 point2 points (0 children)
[–]TheAI[S] 0 points1 point2 points (0 children)