Preparing search index...
The search index is not available
RealDWG-Web
RealDWG-Web
@mlightcad/data-model
floorPowerOfTwo
Function floorPowerOfTwo
floorPowerOfTwo
(
value
:
number
)
:
number
Return the largest power of 2 that is less than or equal to n.
Parameters
value
:
number
Input one number
Returns
number
Return the largest power of 2 that is less than or equal to n.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
RealDWG-Web
Loading...
Return the largest power of 2 that is less than or equal to n.