Every bit pattern in a Signed or Unsigned represents an integer,
there is no representation for a NaN like in eg Float64 etc. You
would have to use Nullable types, see
https://julia.readthedocs.org/en/latest/manual/types/#nullable-types-representing-missing-values
Best,
Tamas
On Fri, Jul 24 2015, Júlio Hoffimann <[email protected]>
wrote:
Hi,
Is there any definition of NaN for Integer types? Let's say I
want to create a matrix with some unspecified entries, that is
entries marked special. I am using NaN for Float64 but would
like to make it work with other types too. Suggestions?
-Júlio