[fpc-pascal] Sin function
Ingemar Ragnemalm
ingemar at ragnemalm.se
Wed Dec 29 12:17:40 CET 2010
faber <bor400 at gmail.com> wrote:
> Hi,
> according to docs/reference sin function should print 0.0 when
>
> Writeln (Sin(Pi):0:1);
>
> but, with fpc 2.4.0 and 2.4.2 (x86) I've get "-0.0", such a result is
> not entirely correct.
> This is a bug (in sin func.) or something wrong with the formatting ?
>
> best regards
> faber
>
If I were you I would print it with more digits so you see if there is
any significant difference at all.
/Ingemar
More information about the fpc-pascal
mailing list