[gmx-users] trjconv precision lost from double to single conversion
mark.j.abraham at gmail.com
Fri Dec 12 17:02:25 CET 2014
On Fri, Dec 12, 2014 at 4:31 PM, Johnny Lu <johnny.lu128 at gmail.com> wrote:
> Hi. I'm using gromacs 4.6.7
> If the trr trajectory file is from double precision calculation, and I use
> single precision trjconv to make a single precision trr trajectory, how
> much precision will I lose in position and in force?
You'll go from practically infinite precision for any such quantity to
about 6 significant figures, ie. double floating-point precision to single.
Their representations are kind of like scientific notation. Read up on
wikipedia about those :-)
1, 0.1, 0.01, or 0.001 angstrom and Newton?
That depends on the magnitude of the numbers. You're getting a change in
Is the lost of precision acceptable?
Depends what you're using them for.
> I noticed that single precision trr seems to take about half the hard disk
> space of double precision trr.
> Thank you.
> Gromacs Users mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users