Arithmetic precision:* | 64 bits |
Number of objects: | 201 |
Number of objects at the end: | 3 |
Number of cycles: | 5 250 000 |
Seconds per cycle: | 0.001 |
Mass of the black object: | 5e14 kg. |
Mass of each blue object: | 1e10 kg. |
Radius of the black object: | 10 m. |
Radius of each blue object: | 3 m. |
Initial speed of blue objects: | 10 m/s |
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.
Коментари
Публикувай нов коментар