d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Odd Question: In Simulations Can Spheres Be Coded? > Elaborated A Bit Inside
Prev123
Add Reply New Topic New Poll
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
Mar 16 2016 02:40pm
sure you can, as far as visual representations go you can get as accurate as the representation technology will allow and the math can be (if you had a computer that can handle it) approximated (if your using java) to 2 billion decimal places

e. we're not talking millions of polygons but billions of billions

This post was edited by Ideophobe on Mar 16 2016 02:41pm
Member
Posts: 27,942
Joined: Nov 6 2006
Gold: 55,141.00
Mar 16 2016 03:48pm
Quote (Ideophobe @ Mar 16 2016 04:40pm)
sure you can, as far as visual representations go you can get as accurate as the representation technology will allow and the math can be (if you had a computer that can handle it) approximated (if your using java) to 2 billion decimal places

e. we're not talking millions of polygons but billions of billions



heres an interview with a billionaire mathematician who came up with a theory used by the NSA/similar agencies in the 70s and later by physicists incorporating lattices around shapes



interesting talk
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Mar 16 2016 04:08pm
Quote (Ideophobe @ Mar 16 2016 03:40pm)
sure you can, as far as visual representations go you can get as accurate as the representation technology will allow and the math can be (if you had a computer that can handle it) approximated (if your using java) to 2 billion decimal places

e. we're not talking millions of polygons but billions of billions


You don't seem to understand how floating point precision works. You cannot have 2 billion decimal places in Java. A 32 bit float in java uses 1 bit for the sign and 23 bits for the mantissa and 8 bits for the exponent. A 64 bit double uses 1 bit for the sign a 52 bit mantissa and an 11 bit exponent. I would recommend you read up on the math and implementation behind floating point precision in computing to avoid making statements like that in the future.
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Mar 18 2016 03:06am
Quote (carteblanche @ Mar 16 2016 12:57pm)
For that matter, I don't think you can have a perfect visual representation of lines either, so all polygons are out of the question too


true
and they're also made out of pixels so any line that isn't PERFECTLY horizontal or PERFECTLY vertical is going to be like a zig zag (stairs) :rofl:
Go Back To Programming & Development Topic List
Prev123
Add Reply New Topic New Poll