package
Version:
v1.1.18
Opens a new window with list of versions in this module.
Published: May 23, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RatioToAB(ra, rb, a, b int) (resA, resB int)
RatioToAB 将 ra 比 rb 转换为 a,b 值范围内 resA/resB 损失最小。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.