FastLED 3.9.15
Loading...
Searching...
No Matches
div_by_count.h File Reference
#include "fl/stl/int.h"
#include "fl/stl/type_traits.h"
+ Include dependency graph for div_by_count.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::detail
 Compile-time linker keep-alive hook for a single fl::Bus.
 

Functions

template<typename T>
fl::enable_if< fl::is_floating_point< T >::value, T >::type fl::detail::div_by_count (T sum, fl::size count)
 
template<typename T>
fl::enable_if< fl::is_integral< T >::value, T >::type fl::detail::div_by_count (T sum, fl::size count)
 
template<typename T>
fl::enable_if<!fl::is_floating_point< T >::value &&!fl::is_integral< T >::value, T >::type fl::detail::div_by_count (T sum, fl::size count)