Strange, I count 6 operations! :)
floor (($i - $l ) / ($r - $l +1 )) <=> 0 1 2 3 4 5 6
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
PS: Please don't post such stuff in SOPW without a clear question, you are keeping others busy moderating that stuff:
In reply to Re: Is the number before, in or after the interval? using spaceship operator <=>
by LanX
in thread Is the number before, in or after the interval? using spaceship operator <=>
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |