Home > Archive > Fortran > March 2004 > Re: Needed: Library or function that can read program settings from aplain text fi
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Needed: Library or function that can read program settings from aplain text fi
|
|
| Dr Ivan D. Reid 2004-03-27, 12:17 am |
| On Fri, 19 Mar 2004 15:35:15 +0100, Arjen Markus <arjen.markus@wldelft.nl>
wrote in <405B0523.8FEF4C1C@wldelft.nl>:
> To round it up: the problem of getting user/configuration data has
^^^^^^^^^^^^^^
> many solutions, none of which is universally applicable.
I'm more used to truncating towards zero... ;-)
--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@brunel.ac.uk Room 40-1-B12, CERN
| |
| Richard Maine 2004-03-27, 12:17 am |
| "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk> writes:
> On Fri, 19 Mar 2004 15:35:15 +0100, Arjen Markus <arjen.markus@wldelft.nl>
> wrote in <405B0523.8FEF4C1C@wldelft.nl>:
>
> ^^^^^^^^^^^^^^
>
> I'm more used to truncating towards zero... ;-)
F2003 (or the IEEE TR in f95) gives you both options.
See IEEE_SET_ROUNDING_MODE, and also the RD, RU, RZ, RN, and RP
edit descriptors.
(Some people might also mention the RC edit descriptor, but I won't.
:-)).
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain | experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
|
|
|
|
|