Add floating point support to mfbt/Casting.h use it for numeric casts in content/media
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: kinetik, Assigned: padenot, NeedInfo)
References
Details
Attachments
(2 files, 1 obsolete file)
| Assignee | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Updated•12 years ago
|
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Updated•10 years ago
|
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Comment 7•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 8•3 years ago
|
||
This now uses if constexpr (...) which is a lot more readable, and still
compiles to almost no assembly instructions, as expected.
Floating point casting assert when casting an integer that's too large to be
represented exactly as a floating point (e.g. UINT64_MAX to double, since double
have less than 64 bytes of mantissa), or when casting a double that's too large
to be represented in a float.
Depends on D167914
Updated•3 years ago
|
| Assignee | ||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Backed out changeset 39cfeb7cffda (bug 646323) for causing bustages
Backout: https://hg.mozilla.org/integration/autoland/rev/7075e948c78f7be501e9d2e277207df36628f59e
Failure logs:
https://treeherder.mozilla.org/logviewer?job_id=404223455&repo=autoland&lineNumber=830
https://treeherder.mozilla.org/logviewer?job_id=404223447&repo=autoland&lineNumber=4806
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
Updated•3 years ago
|
Description
•