Why is 'Infinity' not allowed in Erlang's floats?

后端 未结 0 478
北荒
北荒 2021-02-14 22:11

Erlang (and by extension Elixir) supports floating-point numbers.

Some possible Floats:

  • 1.2345
  • 1.0e10
  • 1.0
相关标签:
回答
  • 消灭零回复
提交回复
热议问题