MCPcopy Create free account
hub / github.com/ArashPartow/exprtk / is_digit_func

Function is_digit_func

exprtk_simple_example_24.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47template <typename T>
48T is_digit_func(const unsigned char c)
49{
50 return (('0' <= c) && (c <= '9')) ? T(1) : T(0);
51}
52
53template <typename T>
54T to_num_func(const unsigned char c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected