MCPcopy Create free account
hub / github.com/Gecode/gecode / exp

Function exp

gecode/third-party/boost/numeric/interval/transc.hpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace numeric {
26
27template<class T, class Policies> inline
28interval<T, Policies> exp(const interval<T, Policies>& x)
29{
30 typedef interval<T, Policies> I;
31 if (interval_lib::detail::test_input(x))
32 return I::empty();
33 typename Policies::rounding rnd;
34 return I(rnd.exp_down(x.lower()), rnd.exp_up(x.upper()), true);
35}
36
37template<class T, class Policies> inline
38interval<T, Policies> log(const interval<T, Policies>& x)

Callers

nothing calls this directly

Calls 4

test_inputFunction · 0.85
emptyFunction · 0.70
lowerMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected