Home Manual Reference Source

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

Params:

NameTypeAttributeDescription
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

Params:

NameTypeAttributeDescription
domain *
default_display_base *

Return:

*