bit0 static method

int bit0(
  1. double inp
)

Implementation

static int bit0(double inp) {
  final lst = Float64List.fromList([inp]).buffer.asUint32List();
  if (Endian.host == Endian.little) {
    return lst[0] & 1;
  } else {
    return lst[1] & 1;
  }
}