Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30349

Re: bug in VCafe?

Newsgroups comp.lang.java.programmer
Date 2014-11-11 10:51 -0800
References <3639C737.D0005B0E@writeme.com>
Message-ID <68fc46a8-e8d7-4fdd-b5f0-12f2ec01ed83@googlegroups.com> (permalink)
Subject Re: bug in VCafe?
From hans.zantman@gmail.com

Show all headers | View raw


On Friday, October 30, 1998 9:00:00 AM UTC+1, Ignace Saenen wrote:
> Does anyone have the same problem ? Vcafe does not seem to be able to
> compile the following code and comes up with an arithmetic underflow..
> The problem is somehwere in the addition of a double to a double, but I
> can1`t possibly see why this should give underflow during compilation.
> 
> 	rand = rand.nextDouble();
> 	rand = rand + 0.5;
> 
> I suggest you fix this quickly, symantec. My workaround was rather
> hilarious:
> 
> 	rand = ((rand*10) + 5) / 10.0;
> 
> This did work, but it hurts my eyes :)
> 
> Ciao..
> 
> Ignace Saenen

Er is cake in de keuken?

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: bug in VCafe? hans.zantman@gmail.com - 2014-11-11 10:51 -0800

csiph-web