Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Runtime overflow and what to do
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-11 (07:50)
From: Sven LUTHER <luther@d...>
Subject: Re: [Caml-list] Runtime overflow and what to do
On Fri, Oct 11, 2002 at 12:17:15AM +0200, Scott J, wrote:
> Hi,
> So it is not easy, perhaps even impossible if the processor doesn't set a
> flag .
> e.g. fact n begins first with a lis of negative numbers (after overflow)
> then comes again a list with positive numbers and then it remains = 0

No, it is easy, but you have to check at each iteration, as was proposed
here previously.


Sven Luther
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: