mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Issue #1240 - Part 3a - Adjust mozilla::FloatingPoint<T>'s definition. So only the barest details are specified for floating-point encodings, with every other number, bit mask, &c. mathematically derived. Also add a bunch of documentation comments. https://bugzilla.mozilla.org/show_bug.cgi?id=1508725 Prerequisite for our V8 fast forward.
This commit is contained in:
parent
13ac0d6483
commit
ddd49121a6
3 changed files with 77 additions and 37 deletions
|
|
@ -54,7 +54,7 @@ template<class T>
|
|||
bool
|
||||
js::wasm::RenderNaN(StringBuffer& sb, Raw<T> num)
|
||||
{
|
||||
typedef typename mozilla::SelectTrait<T> Traits;
|
||||
typedef typename mozilla::FloatingPoint<T> Traits;
|
||||
|
||||
MOZ_ASSERT(IsNaN(num.fp()));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue