V2EX  ›  英汉词典

Float64

释义 Definition

float64:在编程中常见的数据类型名,表示“64 位浮点数”(通常等同于 双精度浮点数),用于存储带小数的数值,精度和可表示范围通常高于 float32。在许多语言/库中,它遵循 IEEE 754 双精度标准。(在不同语言里也可能有别名,如 double。)

发音 Pronunciation (IPA)

/ˈfloʊt ˌsɪksti ˈfɔːr/

例句 Examples

The sensor value is stored as a float64.
传感器的数值以 float64 的类型存储。

To reduce rounding errors in the simulation, we convert all inputs to float64 before running the calculations.
为了减少仿真中的舍入误差,我们在计算前把所有输入都转换为 float64。

词源 Etymology

float64float(浮点数)+ 64(64 位)构成,字面意思就是“用 64 位来表示的浮点数”。它通常对应“double-precision floating-point(双精度浮点)”,常用于需要更高数值精度的计算场景。

相关词 Related Words

文学/著作中的用例 Literary / Notable Works

  • The Go Programming Language(Alan A. A. Donovan, Brian W. Kernighan)——讨论 Go 语言数值类型时出现 float64
  • Go in Action(William Kennedy 等)——在数据类型与数值计算示例中使用 float64
  • Go Programming Language Specification(Go 官方语言规范)——在类型系统部分定义并使用 float64
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1858 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 03:37 · PVG 11:37 · LAX 19:37 · JFK 22:37
♥ Do have faith in what you're doing.