Re: Rounding off double precision
- From: Bamm <bammster@xxxxxxxxx>
- Date: Fri, 28 Mar 2008 20:45:42 -0700 (PDT)
On Mar 29, 11:43 am, Bamm <bamms...@xxxxxxxxx> wrote:
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.
For that matter, I also wonder why the result of Cosine is real and
not double precision. Thanks for any clarification.
.
- Follow-Ups:
- Re: Rounding off double precision
- From: Bil Kleb
- Re: Rounding off double precision
- From: Richard Maine
- Re: Rounding off double precision
- References:
- Rounding off double precision
- From: Bamm
- Rounding off double precision
- Prev by Date: Rounding off double precision
- Next by Date: Re: Rounding off double precision
- Previous by thread: Rounding off double precision
- Next by thread: Re: Rounding off double precision
- Index(es):
Relevant Pages
|
|