Other Ouchs (was: Ouch: return values as lvalue)

Lionello Lunesu lionello at lunesu.remove.com
Tue Jan 30 22:36:15 PST 2007


"Oth Erou" <Oth at erou.ch> wrote in message 
news:epodno$1lvp$1 at digitaldaemon.com...
> Lionello Lunesu Wrote:
>
>> Notice the bug?
> void main(){
>    real res = 0.01;
>    while(res < 0,1)
>    {
>        if (res >= 0.1) printf("shooting over: %f\n", res),
>        printf("Increasing.\n");
>        res*=1+1e-10;
>    }
> }

The , ? :) Nice one! 





More information about the Digitalmars-d mailing list