math

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigNumCompare

func BigNumCompare(n1 string, n2 string) bool

* BigNumCompare: if n1 is equal or greater than n2, return bool true. * @param string n1 * @param string n2

func BigNumMinus

func BigNumMinus(n1 string, n2 string) string

* BigNumMinus * @param string n1: It is the bigger one. * @param string n2: It is the less one. * 1.从低位开始相加 * 2.进位重置的时机 * 3.借位重置的时机 * 4.数字串边界问题

func BigNumPlus

func BigNumPlus(n1 string, n2 string) string

* BigNumPlus * 1.从低位开始相加 * 2.进位重置的时机 * 3.数字串边界问题

Types

This section is empty.

Jump to

Keyboard shortcuts

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