UNPKG

@fractorysolutions/safe-units

Version:
9 lines (8 loc) 433 B
import { Exponent } from "./generated/exponent"; export declare function getExponentValue(value: Exponent): number; export declare const negateExponent: (value: Exponent) => Exponent; export declare const addExponents: BinaryExponentFn; export declare const multiplyExponents: BinaryExponentFn; export declare const divideExponents: BinaryExponentFn; type BinaryExponentFn = (left: Exponent, right: Exponent) => Exponent; export {};