mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 15:37:52 +01:00
TODO note
This commit is contained in:
parent
327d685d32
commit
cb778cdbdb
@ -546,6 +546,7 @@ public abstract class ModuleWriter implements Closeable {
|
|||||||
break;
|
break;
|
||||||
case 114: // frem
|
case 114: // frem
|
||||||
case 115: // drem
|
case 115: // drem
|
||||||
|
//TODO can be implemented with a helper function like: (a - (long)(a / b) * (double)b)
|
||||||
throw new WasmException( "Modulo/Remainder for floating numbers is not supported in WASM. Use int or long data types." + op, sourceFile, lineNumber );
|
throw new WasmException( "Modulo/Remainder for floating numbers is not supported in WASM. Use int or long data types." + op, sourceFile, lineNumber );
|
||||||
case 120: // ishl
|
case 120: // ishl
|
||||||
writeNumericOperator( NumericOperator.shl, ValueType.i32 );
|
writeNumericOperator( NumericOperator.shl, ValueType.i32 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user