From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bce83a1d41e2ae2b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-19 14:18:19 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp.newsfirst.net!newshub.more.net!news.more.net!silver.truman.edu!150.243.170.1 From: "Chad R. Meiners" Newsgroups: comp.lang.ada References: <01c0b0b5$af29df60$2a9ec594@default> Subject: Re: error output numbers X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <3ab68228.0@silver.truman.edu> Date: Mon, 19 Mar 2001 16:10:11 -0600 NNTP-Posting-Host: 150.243.160.9 X-Trace: news.more.net 985040272 150.243.160.9 (Mon, 19 Mar 2001 16:17:52 CST) NNTP-Posting-Date: Mon, 19 Mar 2001 16:17:52 CST Xref: supernews.google.com comp.lang.ada:5876 Date: 2001-03-19T16:10:11-06:00 List-Id: Perhaps you should compile with the -gnato option ;) (assuming of course you are using GNAT) -Chad R. Meiners "w" wrote in message news:01c0b0b5$af29df60$2a9ec594@default... > when i use ada to write a program to calculate factorial, i found that > result after 12! is always wrong. > > for example, > > 12! = 479001600 > but 13! gives me 1932053504. > The correct result should be 6227020800. > > May be there are some problems with my integer declaration? > I decleared all outputs to be INTEGER. > > Thanks! :-)