I have come across the nan
value in some of my code and I know how to handle it, but when trying to explain what exactly nan means, I realized I'm not sure myself. There are also some similar odd values for things that I would like some clarification on.
inf
this clearly means infinity, but will this show up when you reach the maximum float value?
nan
what exactly does this mean and when does this value pop up?
nil
I think I do know this one. An instance of an object that has not been allocated. I thought it belongs in this list anyway.
null
I'm not sure about this one but I think it's similar to nil?