blob: 7e502d21be0edf3a0403dbc95a4f8a9d40da751f [file] [log] [blame]
#include <c10/util/Float8_e4m3fn.h>
#include <iostream>
#include <type_traits>
namespace c10 {
static_assert(
std::is_standard_layout_v<Float8_e4m3fn>,
"c10::Float8_e4m3fn must be standard layout.");
std::ostream& operator<<(std::ostream& out, const Float8_e4m3fn& value) {
out << (float)value;
return out;
}
} // namespace c10