Function
Static Private Summary | ||
private |
_make_methods(domain: *): {"add": *, "sub": *, "mul": *, "div": *, "pow": *, "cmp": *, "simplify": *, "stringify_fixed_point": *, "stringify_fraction": *, "parse_fraction": *, "parse_fixed_point": *} |
|
private |
_make_rational_class(domain: *, default_display_base: *): * |
Static Private
private _make_methods(domain: *): {"add": *, "sub": *, "mul": *, "div": *, "pow": *, "cmp": *, "simplify": *, "stringify_fixed_point": *, "stringify_fraction": *, "parse_fraction": *, "parse_fixed_point": *} source
import _make_methods from '@aureooms/js-rational-field/src/_make_methods.js'
Params:
Name | Type | Attribute | Description |
domain | * |
Return:
{"add": *, "sub": *, "mul": *, "div": *, "pow": *, "cmp": *, "simplify": *, "stringify_fixed_point": *, "stringify_fraction": *, "parse_fraction": *, "parse_fixed_point": *} |
private _make_rational_class(domain: *, default_display_base: *): * source
import _make_rational_class from '@aureooms/js-rational-field/src/_make_rational_class.js'
Params:
Name | Type | Attribute | Description |
domain | * | ||
default_display_base | * |
Return:
* |