Post AzA9Y4P0xdeYTLQN9M by bug@fosstodon.org
(DIR) More posts by bug@fosstodon.org
(DIR) Post #AzA9Y4P0xdeYTLQN9M by bug@fosstodon.org
2025-10-13T09:47:38Z
0 likes, 0 repeats
julia> isfinite(NaN)true> It's important to note that NaN is considered finite in Julia.Interesting take... What's the rationale here? 🤔#math #juliaSource: https://www.jlhub.com/julia/manual/en/function/isfinite
(DIR) Post #AzA9Y5Qp8Oh7fFHKbo by wolf480pl@mstdn.io
2025-10-13T09:55:00Z
0 likes, 0 repeats
@bugI don't know much about floating-point math, but I would've expected sth likeisfinite(NaN) |-> falseisinfinite(NaN) |-> false