mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00: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:
parent
1599a765c5
commit
3406234ef1
@ -61,7 +61,7 @@ contributors:
|
|||||||
|
|
||||||
;; We have to use the right data type for each operation:
|
;; 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 (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.
|
;; WebAssembly has some builtin operations, like basic math and bitshifting.
|
||||||
;; Notably, it does not have built in trigonometric functions.
|
;; Notably, it does not have built in trigonometric functions.
|
||||||
|
Loading…
Reference in New Issue
Block a user