| 3011 | } |
| 3012 | |
| 3013 | array tan(const array& a, StreamOrDevice s /* = {} */) { |
| 3014 | auto dtype = at_least_float(a.dtype()); |
| 3015 | auto input = astype(a, dtype, s); |
| 3016 | return array(a.shape(), dtype, std::make_shared<Tan>(to_stream(s)), {input}); |
| 3017 | } |
| 3018 | |
| 3019 | array arcsin(const array& a, StreamOrDevice s /* = {} */) { |
| 3020 | auto dtype = at_least_float(a.dtype()); |
no test coverage detected