#include "tensorstore/util/bfloat16.h"
bool tensorstore::isinf(BFloat16 x);

Returns true if x is +/-infinity.