3#ifndef pRC_CORE_VALUE_FUNCTIONS_PRINT_H
4#define pRC_CORE_VALUE_FUNCTIONS_PRINT_H
12 template<
class T, If<IsFloat<T>> = 0>
15 constexpr auto format = []()
31 std::fprintf(
stream,
format,
static_cast<double>(value()));
34 template<
class T, If<IsSignedInteger<T>> = 0>
35 static inline auto print(
T const &value, std::FILE *
stream)
39 std::fprintf(
stream,
"% lld", value());
43 std::fprintf(
stream,
"% ld", value());
47 std::fprintf(
stream,
"% d", value());
51 template<
class T, If<IsUn
signedInteger<T>> = 0>
52 static inline auto print(
T const &value, std::FILE *
stream)
56 std::fprintf(
stream,
"%llu", value());
60 std::fprintf(
stream,
"%lu", value());
64 std::fprintf(
stream,
"%u", value());
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static auto print(String< N > const &string, std::FILE *stream)
Definition print.hpp:18