[gmx-developers] Decimal floating types

Ran Friedman ran.friedman at lnu.se
Thu Mar 3 18:32:49 CET 2011

It's a human being that looks at the output, and it can be useful in some cases (e.g., time).
But I don't know the cost of using these and it's not ANSI.

From: gmx-developers-bounces at gromacs.org [gmx-developers-bounces at gromacs.org] On Behalf Of Berk Hess [hess at cbr.su.se]
Sent: 03 March 2011 17:07
To: Discussion list for GROMACS development
Subject: Re: [gmx-developers] Decimal floating types


I just read up on what decimal floating types are.
These are for exact decimal rounding.
But the decimal system is a human invention, only relevant for
inter-human agreements
(such as financial affairs). Physics doesn't know anything about decimals,
so it's irrelevant for Gromacs (unless you want to simulate financial


On 03/03/2011 04:54 PM, Berk Hess wrote:
> Hi,
> I don't understand what you mean with decimal floating times.
> Time in Gromacs is a double since since version 4.0.
> Berk
> On 03/03/2011 02:05 PM, Ran Friedman wrote:
>> Dear all,
>> Is there a plan to include decimal floating types in Gromacs
>> (_Decimal32, _Decimal64)? This can be useful for variables like the
>> time.
>> Ran
>> ------------------------------------------------
>> Ran Friedman
>> Biträdande Lektor (Assistant Professor)
>> Linnaeus University
>> School of Natural Sciences
>> 391 82 Kalmar, Sweden
>> Norrgård, room 328d
>> +46 480 446 290 Telephone
>> +46 76 207 8763 Mobile
>> ran.friedman at lnu.se
>> http://lnu.se/ccbg
>> ------------------------------------------------

gmx-developers mailing list
gmx-developers at gromacs.org
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-developers-request at gromacs.org.

More information about the gromacs.org_gmx-developers mailing list