The OpenD Programming Language

CustomFloat.max_exp

maximum int value such that 2<sup>max_exp-1</sup> is representable

struct CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
enum max_exp = exponent_max - bias - ((flags & (Flags.infinity | Flags.nan)) != 0) + 1;

Meta