| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | possible floating point error in BC |
Hi Paul RM> your program terminated. There's a loose convention (not a rule) PE> It is a rule. 0 means success according to the Australian, American and PE> International standards for the C programming language. RM> that says you return 0 for normal termination, and non-zero values RM> for abnormal termination. PE> The only things defined are 0, EXIT_SUCCESS and EXIT_FAILURE. PE> You could give the official version and then say "in the dos world you PE> might want to do xyz instead". BFN. Paul. What is Binkley, then? It returns all sorts of non-zero values for non-error conditions. PE> P.S. I tried out your code, but couldn't make it print the reciprocol of PE> 360 (or whatever). Works fine here, prints out 5 numbers whose reciprocals contain 1996. I thought I'd written it portably - do you get any output at all? --- PPoint 1.88* Origin: Silicon Heaven (3:711/934.16) SEEN-BY: 711/808 934 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.