| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | strange round / signif behaviour |
| From: | Pierre Delfosse <pierre.delfosse@centexbel.be> |
| Date: | Wed, 25 Jul 2001 14:30:53 +0200 |
Dear S+ users,
S+ 2000 under W98 does not always "round" nor "signif" correctly. For
example,
> round(0.81,2)
[1] 0.8100000000000001
> signif(0.81,2)
[1] 0.8100000000000001
(there are other examples).
Is this a known bug, possibly computer dependant? How can I avoid this
behaviour?
Thank you.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: how to create your own library, Prof Brian Ripley |
|---|---|
| Next by Date: | Re: strange round / signif behaviour, Alan Zaslavsky |
| Previous by Thread: | how to create your own library, Coppenolle, Hans |
| Next by Thread: | Re: strange round / signif behaviour, Prof Brian Ripley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |