# [−][src]Module kernel::common::math

Helper functions for common mathematical operations.

## Structs

PowerOfTwo |

## Functions

abs | |

closest_power_of_two | Get closest power of two greater than the given number. |

log10 | |

log_base_two | Get log base 2 of a number. Note: this is the floor of the result. Also, an input of 0 results in an output of 0 |

log_base_two_u64 | Log base 2 of 64 bit unsigned integers. |