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

Method rnd

exprtk_simple_example_19.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72private:
73
74 inline T rnd()
75 {
76 // Note: Do not use this in production
77 // Result is in the interval [0,1)
78 return T(::rand() / T(RAND_MAX + 1.0));
79 }
80};
81
82template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected