|
|
вернуться в форумWhat can be lower bound for speed? For example, can it be 1e-10 :) ? Re: What can be lower bound for speed? For example, can it be 1e-10 :) ? I've got AC with 1e-8 Re: What can be lower bound for speed? For example, can it be 1e-10 :) ? It's your epsilon for compare or minimum possible speed for object? (Sorry for stupid question if I'm wrong in my suppose) Re: What can be lower bound for speed? For example, can it be 1e-10 :) ? Problem isn't in this. I had crash #8 (Invalid floating point operation) and just find the problem and got AC. Re: What can be lower bound for speed? For example, can it be 1e-10 :) ? This is 'eps' for comparisons (mostly against zero). I don't care about speed, I just find minimum non-negative time. Non-negative means 't > -eps'. Also, right before output I write 'if(t<0) t=0' to protect from -0.000 output. Same thing takes place before 'sqrt' evaluation. |
|
|