Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: 64-bit division anomolies (Solved.)

by salva (Canon)
on Feb 17, 2015 at 10:07 UTC ( [id://1116960]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s1 = ((a / 2) / b) * 2;
    
  2. or download this
    s = s1 + (a - s1 * b) / b
    
  3. or download this
    s2 = (a / 2) / b
    s1 = s2 * 2
    s = s1 + (a - s1 * b) / b
    s = s2 * 2 + (a - (s2 * b) * 2) / b
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1116960]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (1)
As of 2024-04-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found