Twitter hashtag: #esspec
便利ツール
時事ネタ
JSConf JPまで1ヶ月切りましたね
自己紹介 (近況報告)
syumai syumai.icon
Go / TSを書いて暮らしてます
Hono Conferenceの司会をやりました
あと、Asakusa.goというイベントを開催
iwatsurut
とくに、イベントもなく過ごしています。
igrep(山本悠滋)
前回のあらすじ
今回のメモ
Math.clz32
count leading zeroes
code:js
// 00000000000000000000000000000001
console.log(Math.clz32(1));
// 予想される結果: 31
読むのが難しい文
The cases which could can be handled explicitly by adjusting the mantissa of the binary32 value so that it is the value which would be produced by performing the initial cast under roundTiesToOdd.
+0と-0の大小
code:js
const a = +0;
undefined
const b = -0;
undefined
a
0
b
-0
a === b
true
a > b
false
b > a
false
Math.max() -> -Infinity
Infinityが単位元なので
Math.min() -> Infinity