Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Detecting whether UV fits into an NV

by syphilis (Archbishop)
on Mar 02, 2020 at 08:07 UTC ( [id://11113619]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    int uv_fits_double (UV arg) {
    while(!(arg & 1)) arg >>= 1;
      if(arg < 9007199254740993) return 1;
      return 0;
    }
    
  2. or download this
    use warnings;
    use Benchmark;
    ...
    });
    
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found