27#ifndef mx_math_randomSeed_hpp
28#define mx_math_randomSeed_hpp
33#include "../mxlib.hpp"
52template <
typename intT>
static constexpr error_t errno2error_t(const int &err)
Convert an errno code to error_t.
@ filererr
An error occurred while reading from a file.
error_t mxlib_error_report(const error_t &code, const std::string &expl, const std::source_location &loc=std::source_location::current())
Print a report to stderr given an mxlib error_t code and explanation and return the code.
constexpr floatT six_fifths()
Return 6/5 in the specified precision.
int randomSeed(intT &seedval)
Get a value to use as a random seed.