Arithmetic precision:* | 256 bits |
Number of objects: | 100 |
Number of cycles: | 23 500 |
Seconds per cycle: | 0.005 |
Mass of each light object: | 1 kg. |
Mass of the heavy object: | 1e15 kg. |
Radius of each object: | 10 m. |
Interacting law: | Newton's law of gravity |
*GMP is used for floating point numbers. Precision is compromised by math.h functions atan2, sin and cos. If you have C++ implementation of CORDIC or other fast algorithm, you can share it here.
Коментари
Публикувай нов коментар