Newsgroups: comp.os.msdos.djgpp From: cmatraki AT eleceng DOT ucl DOT ac DOT uk (Chris Matrakidis) Subject: Re: Interrupts+emulation considered harmful Sender: news AT ucl DOT ac DOT uk (Usenet News System) Message-ID: <1996Nov13.182920.41305@ucl.ac.uk> Date: Wed, 13 Nov 1996 18:29:20 GMT References: <3285e9f2 DOT 28357936 AT news DOT netvision DOT net DOT il> Organization: University College London Lines: 10 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ronen Friedman wrote: >FYI - seems floating point emulation and hardware interrupts do not >mix very well. I may be wrong, but the following details seem convincing: > Are you linking your program with libm? There is a bug in functions ceil() and floor() whare some values are stored under the stack pointer, and they are overwritten by a hardware int (I think by the jump_buf).