Rounding off double precision
- From: Bamm <bammster@xxxxxxxxx>
- Date: Fri, 28 Mar 2008 20:43:53 -0700 (PDT)
I'm trying some calculations in double precision, and I'd like the
output rounded off so that errors in calculation are not shown. For
instance, the result of COS(90 * 3.141592653589793238d0 / 180.) is
-4.37113886E-06. I'd like it to be zero. Thanks for any help.
.
- Follow-Ups:
- Re: Rounding off double precision
- From: Herman D . Knoble
- Re: Rounding off double precision
- From: Ron Shepard
- Re: Rounding off double precision
- From: Bamm
- Re: Rounding off double precision
- Prev by Date: Re: Press any key to continue?
- Next by Date: Re: Rounding off double precision
- Previous by thread: Press any key to continue?
- Next by thread: Re: Rounding off double precision
- Index(es):