Arduino Filters master
Filter library for Arduino
Static Public Member Functions | List of all members
round_div_default< N, T > Struct Template Reference

#include <AH/Math/Divide.hpp>

Detailed Description

template<uint8_t N, class T>
struct round_div_default< N, T >

Divide by N using the default division operator, without explicit rounding This should be used for floating point types.

For integers, prefer using round_div_unsigned_int and round_div_signed_int.

Definition at line 17 of file Divide.hpp.

+ Collaboration diagram for round_div_default< N, T >:

Static Public Member Functions

static T div (T val)
 

Member Function Documentation

◆ div()

static T div ( val)
inlinestatic

Definition at line 18 of file Divide.hpp.


The documentation for this struct was generated from the following file: