isEqual1eX function
Implementation
@visibleForTesting
bool isEqual1eX(double value) {
final log10Value = log(value) / ln10;
final exponent = log10Value.toInt();
final calcularedV = double.parse(
pow(10, log10Value.round()).toStringAsFixed(log10Value.round().abs()));
return value == calcularedV && (exponent.abs() >= 2 && exponent.abs() <= 8);
}