Antonio Sanchez c65c2b31d4 Make half/bfloat16 constructor take inputs by value, fix powerpc test.
Since `numeric_limits<half>::max_exponent` is a static inline constant,
it cannot be directly passed by reference. This triggers a linker error
in recent versions of `g++-powerpc64le`.

Changing `half` to take inputs by value fixes this.  Wrapping
`max_exponent` with `int(...)` to make an addressable integer also fixes this
and may help with other custom `Scalar` types down-the-road.

Also eliminated some compile warnings for powerpc.
2021-02-27 21:32:06 +00:00
..
2018-11-09 11:35:48 +01:00
2017-02-28 14:00:15 -08:00
2021-01-28 15:13:07 +01:00
2020-12-04 21:45:09 +00:00
2018-03-11 10:01:44 -04:00
2021-01-28 01:10:36 +01:00
2021-01-06 13:14:20 -08:00
2018-06-07 15:45:24 +02:00
2019-01-17 18:27:49 +01:00
2021-02-27 19:02:33 +01:00
2021-01-27 23:32:12 +01:00