| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <39A5949D.6AD5B57B@Wanadoo.fr> |
| Date: | Thu, 24 Aug 2000 15:33:17 -0600 |
| From: | Jerome Benoit <JGMBenoit AT Wanadoo DOT fr> |
| X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Cygnus <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | `rint' seems corrupted |
I have just try thefollowing C code:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>..
#include <math.h>
main() {
printf("%e\n",rint(0.847));
}
<<<<<<<<<<<<<<<<<<<<<<<<<<
when I run it, I get the amazing output:
8.125000e-01
Did I miss something ?
Thanks inadvance,
Jerome BENOIT
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |