SyTen
restrict.cpp File Reference

Implementation for inc/util/restrict.h More...

+ Include dependency graph for restrict.cpp:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

std::int64_t syten::restrict (std::int64_t value, std::int64_t max)
 Restricts value into the range [0,max), mapping -1 to max-1. More...
 

Detailed Description

Implementation for inc/util/restrict.h