import { _NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY } from '../const/value'; import StrNumber from './StrNumber'; /** * 判断数值是否是无限的 */ export declare function _isInfinite(value: StrNumberType): value is typeof NEGATIVE_INFINITY | typeof POSITIVE_INFINITY; /** * 判断数值是否是有限的 */ export declare function _isFinite(value: StrNumberType): value is string; /** * 判断数值是否是NaN */ export declare function _isNaN(value: StrNumberType): value is typeof _NaN; /** * 判断是否是StrNumber类型 */ export declare function isStrNumber(value: unknown): value is StrNumber; /** * 将科学计数法转换为字符数字 */ export declare function formatScientificNotationNumber(value: StrNumberType): StrNumberValue; /** * 将科学计数法还原为数字 */ export declare function scientificNotation2Number(val: string, e: number): StrNumberValue; /** * 取绝对值 */ export declare function abs(value: StrNumberType): StrNumberValue; /** * 判断是否为负数 */ export declare function isNegativeNumber(value: StrNumberType): boolean; /** * 判断A是否小于B */ export declare function aIsLessThanB(a: StrNumberType, b: StrNumberType): boolean; /** * 判断A是否等于B */ export declare function aIsEqualToB(a: StrNumberType, b: StrNumberType): boolean; /** * 判断A是否大于B */ export declare function aIsMoreThanB(a: StrNumberType, b: StrNumberType): boolean;