Jump to content
HWBOT Community Forums

Public profile typo?


Rush

Recommended Posts

jabski, I know it. Maximum of hardware points is 300.

 

1. New user has 0 hardware points and 0 global points:

0 + max(0, 300) = 300.

0 + min(0, 300) = 0. <- Total points is 0.

 

2. You have 554.2 hardware points and 447.6 global points:

447.6 + max(554.2, 300) = 1011.8

447.6 + min(554.2, 300) = 747.6 <- Your current total points.

 

I'm programmer and it is strange for me to see max(double, double) function returns minimum of it's arguments. So I consider it's a typo.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...