| 169 | }; |
| 170 | |
| 171 | struct log { |
| 172 | template< typename T > |
| 173 | inline double operator()(T val) { |
| 174 | if (!Vector< rtype< T >::RTYPE >::is_na(val)) { |
| 175 | return std::log(val); |
| 176 | } |
| 177 | |
| 178 | return rtype< double >::NA(); |
| 179 | } |
| 180 | }; |
| 181 | |
| 182 | struct exp { |
| 183 | template< typename T > |
nothing calls this directly
no outgoing calls
no test coverage detected