Home | History | Annotate | Download | only in jni
      1 #include <cmath>
      2 
      3 template <typename T>
      4 T foo(T a) {
      5     return std::copysign(a, static_cast<T>(-1.0));
      6 }
      7