Negates a PyBfloat16.
| 210 | |
| 211 | // Negates a PyBfloat16. |
| 212 | PyObject* PyBfloat16_Negative(PyObject* self) { |
| 213 | bfloat16 x = PyBfloat16_Bfloat16(self); |
| 214 | return PyBfloat16_FromBfloat16(-x).release(); |
| 215 | } |
| 216 | |
| 217 | PyObject* PyBfloat16_Add(PyObject* a, PyObject* b) { |
| 218 | bfloat16 x, y; |
nothing calls this directly
no test coverage detected