Bug 181183
Summary: | [WTF] Introduce {MonotonicTime,WallTime,Seconds,TimeWithDynamicClockType}::{isinf,isnan,isfinite} | ||
---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
Component: | Web Template Framework | Assignee: | Yusuke Suzuki <ysuzuki> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Yusuke Suzuki
Instead of overloading std::{isinf,isfinite,isnan}, adding them to their class is clearer.
When we see std::isnan(value) etc., we consider value is `double`.
Overloading them produces misleading code.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |