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

Helper functions for common mathematical operations.

## Structs

PowerOfTwo |

## Functions

__errno^{⚠} | |

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

get_errno | Return errno value and zero it out. |

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. |

sqrtf32 | Provide |