Lines Matching refs:NaN
147 // If this function is called with NaN it returns NaN.
216 var timezone_cache_time = $NaN;
280 if (!$isFinite(hour)) return $NaN;
281 if (!$isFinite(min)) return $NaN;
282 if (!$isFinite(sec)) return $NaN;
283 if (!$isFinite(ms)) return $NaN;
297 var ymd_from_time_cache = [$NaN, $NaN, $NaN];
298 var ymd_from_time_cached_time = $NaN;
303 return $NaN;
316 return $NaN;
328 return $NaN;
346 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN;
356 return $NaN;
370 // conversion we return NaN immediately instead of relying on
372 if ($abs(time) > MAX_TIME_BEFORE_UTC) return $NaN;
379 if (!$isFinite(time)) return $NaN;
380 if ($abs(time) > MAX_TIME_MS) return $NaN;
389 time: $NaN,
392 year: $NaN,
459 %FunctionSetPrototype($Date, new $Date($NaN));
536 if (IS_NULL(arr)) return $NaN;
945 if (NUMBER_IS_NAN(t)) return $NaN;
955 if (NUMBER_IS_NAN(year)) return %_SetValueOf(this, $NaN);
1019 timezone_cache_time = $NaN;
1027 ymd_from_time_cache = [$NaN, $NaN, $NaN];
1028 ymd_from_time_cached_time = $NaN;
1032 cache.time = $NaN;
1033 cache.year = $NaN;