Documentation ¶
Index ¶
- Constants
- func Convert3412(b []byte)
- func Convert3412Bytes(value float64) []byte
- func Convert3412Float32(b []byte) (val float64)
- func ConvertBigEndianFloat32(b []byte) (val float64)
- func ConvertLittleEndianFloat32(b []byte) (val float64)
- func Deadband(a, b, c float64) bool
- func Float32Equal(a, b float64) bool
- func FloatEqual(a, b float64) bool
- func ToString(val float64) string
Constants ¶
View Source
const DeadbandConst = 0.000000000001
DeadbandConst 死区的最小常量
Variables ¶
This section is empty.
Functions ¶
func Convert3412Float32 ¶
Convert3412Float32 转换为3412 类型的浮点型
func ConvertBigEndianFloat32 ¶
ConvertBigEndianFloat32 从字节数组中转换大编码float
func ConvertLittleEndianFloat32 ¶
ConvertLittleEndianFloat32 从字节数组中转换大编码float
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.