bitwise-rotation:values按位旋转值

时间:2021-05-08 04:54:39
【文件属性】:
文件名称:bitwise-rotation:values按位旋转值
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-08 04:54:39
JavaScript 按位旋转 按位旋转值。 在计算机编程中,循环移位(或按位旋转)是将其操作数的所有位移位的移位运算符。 与算术移位不同,循环移位不会保留数字的符号位,也不会将数字的指数与其有效位数(有时称为尾数)区分开。 — 如何使用 import bitwiseRotation from 'bitwise-rotation' ; // Set the bit-width/length; max of `32`, min of `0`. const rotationObject = bitwiseRotation ( 8 ) ; // Returns an object with rotate right (`ror`) and rotate left (`rol`) methods. const { ror , rol } = rotationObject ; // Rotate a value by
【文件预览】:
bitwise-rotation-master
----rollup.config.js(390B)
----package.json(1KB)
----src()
--------index.js(1KB)
--------test.js(396B)
----.gitignore(32B)
----README.md(3KB)
----yarn.lock(65KB)

网友评论