PINE LIBRARY
已更新

libcompress

638
Library "libcompress"
numbers compressor for large output data compression

compress_fp24()
  converts float to base64 (4 chars) | 24 bits: 1 sign + 5 exponent + 18 mantissa
  Returns: 4-character base64_1/5/18 representation of x

compress_ufp18()
  converts unsigned float to base64 (3 chars) | 18 bits: 5 exponent + 13 mantissa
  Returns: 3-character base64_0/5/13 representation of x

compress_int()
  converts int to base64
版本注释
v2

Bug fixes
版本注释
v3

Major logic fixes

Added:
base64_tointstr()
  converts base64 to int string

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。