Safe Haskell | None |
---|---|

Language | Haskell2010 |

# 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

Safe Haskell | None |
---|---|

Language | Haskell2010 |

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