Fast Running Blog
November 26, 2024, 03:06:25 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Calendar Login Register FAST RUNNING BLOG  
Pages: [1]
  Print  
Author Topic: Lost in the Mileage Board  (Read 5405 times)
Eric Day
Posting Member
***
Posts: 198


WWW
« on: May 16, 2009, 10:53:25 am »

Don't know if anybody noticed this, but if your weekly mileage is the next after the last runner on a page, you would normally think you would be on the top of the next page, but when you click -next- you are not. You have disappeared!

Is this a little bug?
 Undecided



Logged
Jon Allen
Cyber Boltun
*****
Posts: 1150



WWW
« Reply #1 on: May 16, 2009, 03:01:01 pm »

Happens a lot.  If you click Next and Prev a few times, you can get it to show up eventually.
Logged
Sasha Pachev
Administrator
Cyber Boltun
*****
Posts: 1546



WWW
« Reply #2 on: May 16, 2009, 03:30:53 pm »

Will investigate.
Logged
Eric Day
Posting Member
***
Posts: 198


WWW
« Reply #3 on: May 18, 2009, 09:12:59 am »

Hadn't tried the next/prev.

Thanks Sasha!

Logged
Sasha Pachev
Administrator
Cyber Boltun
*****
Posts: 1546



WWW
« Reply #4 on: June 03, 2009, 08:33:10 pm »

Fixed. The problem was floating point comparisons. I forgot to take care of the matter that you can never assume that converting a floating point number from binary to decimal and then back to binary will produce the same result. As a bonus, similar bug was fixed in the race reports, and the mileage format has been standardized.
Logged
Eric Day
Posting Member
***
Posts: 198


WWW
« Reply #5 on: June 03, 2009, 08:57:35 pm »

Cool, thanks Sasha!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!