1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 12:30:48 +02:00

Remove wrong comment

The second comment probably got to the actual expression by mistake. Commented expression is wrong as it should be, but the other one is fine
This commit is contained in:
Aleksei Trifonov
2020-04-05 01:12:31 +03:00
committed by GitHub
parent 1599a765c5
commit 3406234ef1

View File

@@ -61,7 +61,7 @@ contributors:
;; We have to use the right data type for each operation:
;; (local.set $mult_result (f32.mul (f32.const 2.0) (f32.const 4.0))) ;; WRONG! mult_result is f64!
(local.set $mult_result (f64.mul (f64.const 2.0) (f64.const 4.0))) ;; WRONG! mult_result is f64!
(local.set $mult_result (f64.mul (f64.const 2.0) (f64.const 4.0)))
;; WebAssembly has some builtin operations, like basic math and bitshifting.
;; Notably, it does not have built in trigonometric functions.