exponent32 function

int exponent32(
  1. double x
)

Implementation

int exponent32(final double x) {
  final bias = maxexponent32(x) - 1;
  final d = digits32(x) - 1;
  return ((Float64List.fromList([x]).buffer.asUint32List(0).last &
              0x7fffffff) >>>
          (d - 32)) -
      bias +
      1;
}