Commit a5530951 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

Reject log2Up on negative inputs

Mathematically, we should also reject 0, like log2Ceil does.  But accepting
0 and returning 1 is more in the spirit of the special case for widths.
parent 635f98dd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment