Hacker News new | ask | show | jobs
by Xeoncross 3249 days ago
Does elixir only have 'int'? In that intro section I'd like to see mention of 8, 16, 24, 32, 64, and 128 bit ints/complex (if they exist). Nothing big, just mention that they exist and I won't have to abandon the language for higher maths.
1 comments

Hi Xeoncross! Elixir does have floats, we should make mention of them. If you'd like to submit a PR we'd happily accept :)
No, not 32, 64, 128 bit floats/doubles (though I'm glad it has those as well). I meant plain ints. Do I have to do binary math or can I make use of large numbers natively?