big

package
v0.0.0-...-0e42c13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

字符小数

字符数

Index

Constants

This section is empty.

Variables

View Source
var (
	FloatAdd = 小数相加
	FloatSub = 小数相减
	FloatMul = 小数相乘
	FloatDiv = 小数相除
)

Functions

This section is empty.

Types

type Float

type Float = 小数

func AddFloat

func AddFloat(a, b Float) Float

func DivFloat

func DivFloat(a, b Float) Float

func MulFloat

func MulFloat(a, b Float) Float

func NewFloat

func NewFloat(a, b string, c bool) Float

func SubFloat

func SubFloat(a, b Float) Float

func (Float) String

func (f Float) String() string

type Rat

type Rat = RationalNumber

func AddRat

func AddRat(a, b Rat) Rat

func DivRat

func DivRat(a, b Rat) Rat

func MulRat

func MulRat(a, b Rat) Rat

func NewRat

func NewRat(a, b int) Rat

func SubRat

func SubRat(a, b Rat) Rat

func (Rat) String

func (r Rat) String() string

返回字符串表示

type RationalNumber

type RationalNumber = 分数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL