fix: remove BFloat16(uint16) ctor
Signed-off-by: Krishna Pandey <kpandey81930@gmail.com>
This commit is contained in:
parent
5ad41c59bf
commit
3486509d13
@ -29,8 +29,6 @@ struct BFloat16 {
|
||||
|
||||
LIBC_INLINE BFloat16() = default;
|
||||
|
||||
LIBC_INLINE constexpr explicit BFloat16(uint16_t bits) : bits(bits) {}
|
||||
|
||||
template <typename T> LIBC_INLINE constexpr explicit BFloat16(T value) {
|
||||
if constexpr (cpp::is_floating_point_v<T>) {
|
||||
bits = fputil::cast<bfloat16>(value).bits;
|
||||
|
Loading…
x
Reference in New Issue
Block a user