De Polignac numbers: Difference between revisions
→{{header|Ruby}}: Better way to find pow2
(→{{header|Ruby}}: Add Ruby) |
(→{{header|Ruby}}: Better way to find pow2) |
||
Line 1,315:
def pow2floor(n)
n.
end
|
(→{{header|Ruby}}: Add Ruby) |
(→{{header|Ruby}}: Better way to find pow2) |
||
Line 1,315:
def pow2floor(n)
n.
end
|
edits