Variable RasterHistogramResult.nanCount

NaN samples, for floating-point sources only.

struct RasterHistogramResult
{
  // ...
  ulong nanCount;
  // ...
}

Example

Example checking that the default result has no NaN samples.

import raster;
RasterHistogramResult result;
assert(result.nanCount == 0);