Closed Bug 1277099 Opened 9 years ago Closed 9 years ago

Mask SMID document exemple error

Categories

(Developer Documentation Graveyard :: JavaScript, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: romaiiin, Unassigned)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details MASK EXEMPLE : var a = SIMD.Float32x4(1, 2, 3, 4); var b = SIMD.Float32x4(5, 6, 7, 8); var mask = SIMD.Float32x4.lessThan(a, SIMD.Float32x4.splat(3)); // Bool32x4[true, false, false, false] <=================================== /!\ I think [true, true, false, false] var result = SIMD.Float32x4.select(mask, SIMD.Float32x4.mul(a, b), SIMD.Float32x4.add(a, b)); console.log(result); // Float32x4[5, 12, 10, 12]
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.