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

Function tanh

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

Source from the content-addressed store, hash-verified

180}
181
182template<class T, class Policies> inline
183interval<T, Policies> tanh(const interval<T, Policies>& x)
184{
185 typedef interval<T, Policies> I;
186 if (interval_lib::detail::test_input(x))
187 return I::empty();
188 typename Policies::rounding rnd;
189 return I(rnd.tanh_down(x.lower()), rnd.tanh_up(x.upper()), true);
190}
191
192template<class T, class Policies> inline
193interval<T, Policies> asinh(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