3-phase PV router
Loading...
Searching...
No Matches
FastDivision.h File Reference
#include <Arduino.h>
Include dependency graph for FastDivision.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void divmod10 (uint32_t in, uint32_t &div, uint8_t &mod) __attribute__((noinline))
 
constexpr auto divu1 (uint16_t n)
 
uint16_t divu10 (uint16_t n) __attribute__((noinline))
 
constexpr auto divu2 (uint16_t n)
 
constexpr auto divu4 (uint16_t n)
 
constexpr auto divu8 (uint16_t n)
 

Function Documentation

◆ divmod10()

void divmod10 ( uint32_t in,
uint32_t & div,
uint8_t & mod )
extern

Definition at line 41 of file FastDivision.cpp.

◆ divu1()

auto divu1 ( uint16_t n)
constexpr

Definition at line 24 of file FastDivision.h.

◆ divu10()

uint16_t divu10 ( uint16_t n)
extern

Definition at line 3 of file FastDivision.cpp.

Here is the caller graph for this function:

◆ divu2()

auto divu2 ( uint16_t n)
constexpr

Definition at line 19 of file FastDivision.h.

◆ divu4()

auto divu4 ( uint16_t n)
constexpr

Definition at line 14 of file FastDivision.h.

◆ divu8()

auto divu8 ( uint16_t n)
constexpr

Definition at line 9 of file FastDivision.h.