HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
CC: increase numeric precision a bit
%g is a very poor choice to keep double precision, as it defaults to 6 digits. double needs 16-17 digits, 16 usually the best. Also note that the ops do not use NV as long double, even if d_longdbl is defined. A NV is double. %.16g is enough precision to pass the shootout nbody test.
- Loading branch information...
Showing with 16 additions and 11 deletions.