pjb45 Posted April 11, 2017 Share Posted April 11, 2017 Anybody remember their Math? A number divided by 0 does not exist. The calculation is a mathematical equation. So in programming languages when presented with this situation, the routine usually calls for a abend. Or pointing to a subroutines that allow for another answer. So all you "rules" guys are in a world of hurt. So the expedient solution is to do a work around, e.g. enter 1 second with results in a zero for the stage which is the actually answer. DNF equals a zero for the stage but DNF is not a mathematical concept. Link to comment Share on other sites More sharing options...
euxx Posted April 11, 2017 Share Posted April 11, 2017 I am sorry to bring this up for all you mathematicians, but scoring app is forcing RO to provide a correct score. Besides time there is also scores need to be entered or score will be considered incomplete. The uspsa rule book describes several situations when competitor gets zero score (regardless of time or target scores). Hence we adjusted name of the action if you look closely to screenshot above. Other than that is is important to have keep track of what was the reason for zero score... Link to comment Share on other sites More sharing options...
bret Posted April 11, 2017 Share Posted April 11, 2017 11 minutes ago, euxx said: I am sorry to bring this up for all you mathematicians, but scoring app is forcing RO to provide a correct score. Besides time there is also scores need to be entered or score will be considered incomplete. The uspsa rule book describes several situations when competitor gets zero score (regardless of time or target scores). Hence we adjusted name of the action if you look closely to screenshot above. Other than that is is important to have keep track of what was the reason for zero score... Thanks Link to comment Share on other sites More sharing options...
MAC702 Posted April 12, 2017 Share Posted April 12, 2017 6 hours ago, pjb45 said: ... DNF is not a mathematical concept. Good point, but mathematics allows for certain definitions, as in "just because." For example, 0! = 1 for no mathematical reason except we need it to be so. Link to comment Share on other sites More sharing options...
pjb45 Posted April 12, 2017 Share Posted April 12, 2017 Nothing to be sorry about. It is just a case the laws of math v. reality. Computer foundations are math based. Smart designers understand the challenge. As we most programs, situations arise that were not addressed originally/earlier and require changes/enhancements. This is a fairly normal exercise. Link to comment Share on other sites More sharing options...
waktasz Posted April 22, 2017 Share Posted April 22, 2017 On 4/8/2017 at 8:39 PM, MAC702 said: My first thought was to enter a 0.00 and score. But I also figured the program wouldn't allow it. Which then made me wonder about what happens when there is a squib in the middle of a stage. The timer might or might not pick up the squib. In which case some squibs might get counted against the shooter's time, while in other cases it isn't, yielding different scores. Chances are this will never actually affect the outcome of a match, though. A squib that lodges in the barrel is not a shot, by definition, so it isn't supposed to be counted by the timer anyway. Link to comment Share on other sites More sharing options...
theWacoKid Posted April 27, 2017 Share Posted April 27, 2017 On 4/11/2017 at 8:47 PM, pjb45 said: Nothing to be sorry about. It is just a case the laws of math v. reality. Computer foundations are math based. Smart designers understand the challenge. As we most programs, situations arise that were not addressed originally/earlier and require changes/enhancements. This is a fairly normal exercise. Actually, they are arithmetic and logic based. A time of zero in this particular instance is a very easy logic case. Link to comment Share on other sites More sharing options...
pjb45 Posted April 28, 2017 Share Posted April 28, 2017 (edited) Arithmetic (from the Greek ἀριθμός arithmos, "number") is a branch of mathematics -- Wiki A distinction without a difference IMHO. It is still a number divided by zero issue regardless of specificity, DUH Edited April 28, 2017 by pjb45 Link to comment Share on other sites More sharing options...
waktasz Posted April 28, 2017 Share Posted April 28, 2017 Not really. If time=0, hitfactor = 0 else hitfactor = points/time Link to comment Share on other sites More sharing options...
pjb45 Posted April 28, 2017 Share Posted April 28, 2017 Yes really. HF=P/T is math equation. The If then Else statement is logic applied to address the zero divide, hence a programming logic work around a zero divide. Link to comment Share on other sites More sharing options...
theWacoKid Posted April 28, 2017 Share Posted April 28, 2017 Math includes much more than arithmetic. Computers aren't based on math, just arithmetic. They do math via arithmetic and logic. Zero divide is not a problem with HF math because hit factor always requires logic before the math applies. This is to cover the cases of negative points, zero points, and zero time. So hf=points/time only when positive net points are scored. Otherwise HF is zero, no math needed, just logic. Note, zero time will always mean negative points. Link to comment Share on other sites More sharing options...
theWacoKid Posted April 28, 2017 Share Posted April 28, 2017 On 4/8/2017 at 7:19 PM, six-gun shooter said: Interesting thing happened at a match today. Shooter had a squib on his first shot. Shot was too quiet to be picked up by timer. Bullet lodged in barrel prevented his completing the stage. 5.7.7.1 says score it as shot, but what time do you enter? Technically you enter time of "0". Rule 9.10.3. The electronic devices must be updated to accept this since that is the what the rule book states is the time that must be recorded. Simply a rule they overlooked for USPSA. Link to comment Share on other sites More sharing options...
bret Posted April 28, 2017 Share Posted April 28, 2017 4 hours ago, theWacoKid said: Math includes much more than arithmetic. Computers aren't based on math, just arithmetic. They do math via arithmetic and logic. Zero divide is not a problem with HF math because hit factor always requires logic before the math applies. This is to cover the cases of negative points, zero points, and zero time. So hf=points/time only when positive net points are scored. Otherwise HF is zero, no math needed, just logic. Note, zero time will always mean negative points. a squib is not a shot fired, 0.00 is the correct time, plus penalties. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now