Skip to content

Commit f405d25

Browse files
committed
import Math_max into asm.js scope
1 parent 7543d07 commit f405d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emscripten.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def make_emulated_param(i):
554554
for sig in last_forwarded_json['Functions']['tables']:
555555
asm_setup += '\nvar debug_table_' + sig + ' = ' + json.dumps(debug_tables[sig]) + ';'
556556

557-
maths = ['Math.' + func for func in ['floor', 'abs', 'sqrt', 'pow', 'cos', 'sin', 'tan', 'acos', 'asin', 'atan', 'atan2', 'exp', 'log', 'ceil', 'imul', 'min', 'clz32']]
557+
maths = ['Math.' + func for func in ['floor', 'abs', 'sqrt', 'pow', 'cos', 'sin', 'tan', 'acos', 'asin', 'atan', 'atan2', 'exp', 'log', 'ceil', 'imul', 'min', 'max', 'clz32']]
558558
simdfloattypes = []
559559
simdinttypes = []
560560
simdbooltypes = []

0 commit comments

Comments
 (0)