tc39 / ecmascript_simd

SIMD numeric type for EcmaScript
Other
543 stars 64 forks source link

Implement neg() for all numerical types. #336

Open stoklund opened 8 years ago

stoklund commented 8 years ago

This fixes issue #310.

This implements neg(X) in modulo arithmetic as the number Y such that X + Y == 0 (mod N).