| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Foundation.Bits
Documentation
Round up (if needed) to a multiple of alignment closst to m
alignment needs to be a power of two
alignRoundUp 16 8 = 16 alignRoundUp 15 8 = 16
foundation-0.0.2: Alternative prelude with batteries and no dependencies
| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Foundation.Bits
Round up (if needed) to a multiple of alignment closst to m
alignment needs to be a power of two
alignRoundUp 16 8 = 16 alignRoundUp 15 8 = 16