Home
last modified time | relevance | path

Searched refs:IsPwr2 (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/documents/api/nn/fs/briefing/
Dsavedata_calc.js53 function IsPwr2(val) class
277 if (inputParam.sizeBlockLevel[0] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[0])
278 || inputParam.sizeBlockLevel[1] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[1]))
411 if (inputParam.sizeBlockLevel[0] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[0])
412 || inputParam.sizeBlockLevel[1] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[1])
413 || inputParam.sizeBlockLevel[2] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[2])
414 || inputParam.sizeBlockLevel[3] <= 0 || !IsPwr2(inputParam.sizeBlockLevel[3]))
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Arithmetic.h535 inline bool IsPwr2(int x) { return 0 == (x & (x - 1)); } in IsPwr2() function