mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02:00
Merge pull request #3898 from avrong/patch-1
[wasm/en] Remove wrong comment
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user