| 25 | namespace numeric { |
| 26 | |
| 27 | template<class T, class Policies> inline |
| 28 | interval<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 | |
| 37 | template<class T, class Policies> inline |
| 38 | interval<T, Policies> log(const interval<T, Policies>& x) |
nothing calls this directly
no test coverage detected