Searched refs:modulo (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | size_util_test.cc | 58 for (std::uint8_t modulo : {1, 2, 8, 32, 128}) { in SizeUtilTestValue() 59 EXPECT_GE(value, round_down_pot(value, modulo)); in SizeUtilTestValue() 60 EXPECT_EQ(round_down_pot(value, modulo) % modulo, 0); in SizeUtilTestValue() 62 if (value <= std::numeric_limits<Integer>::max() - modulo) { in SizeUtilTestValue() 63 EXPECT_LE(value, round_up_pot(value, modulo)); in SizeUtilTestValue() 64 EXPECT_EQ(round_up_pot(value, modulo) % modulo, 0); in SizeUtilTestValue()
|
A D | size_util.h | 93 Integer round_down_pot(Integer value, Modulo modulo) { in round_down_pot() argument 94 RUY_DCHECK_EQ(modulo & (modulo - 1), 0); in round_down_pot() 95 return value & ~(modulo - 1); in round_down_pot() 99 Integer round_up_pot(Integer value, Modulo modulo) { in round_up_pot() argument 100 return round_down_pot(value + modulo - 1, modulo); in round_up_pot()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | modbuiltins.c | 491 mp_obj_t modulo = mp_binary_op(MP_BINARY_OP_MODULO, o_in, mult); in mp_builtin_round() local 492 mp_obj_t rounded = mp_binary_op(MP_BINARY_OP_SUBTRACT, o_in, modulo); in mp_builtin_round() 493 if (mp_obj_is_true(mp_binary_op(MP_BINARY_OP_MORE, half_mult, modulo))) { in mp_builtin_round() 495 } else if (mp_obj_is_true(mp_binary_op(MP_BINARY_OP_MORE, modulo, half_mult))) { in mp_builtin_round()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/doc/ |
A D | rfc1950.txt | 327 are done modulo 65521. s1 is initialized to 1, s2 to zero. The 484 The modulo on unsigned long accumulators can be delayed for 5552 485 bytes, so the modulo operation time is negligible. If the bytes 525 % modulo operator: a % b is the remainder of a divided by b.
|
A D | rfc1952.txt | 429 data modulo 2^32.
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/ |
A D | jsbignum.texi | 37 …vision and power can be overloaded for example to return a fraction. The modulo operator (@code{%}… 581 @item The modulo operator (@code{%}) returns the Euclidian remainder (always positive) instead of t…
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | ChangeLog | 1655 "Division or modulo by zero". 1657 or modulo by zero". 1658 (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by 1660 (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by 1664 715974 "Division or modulo by zero". 1673 "Division or modulo by zero". 1674 (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by 1676 (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by 1678 (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by 1798 modulo by zero".
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | config.h.bak | 714 * Enable specific 'modulo p' routines for each NIST prime.
|
Completed in 15 milliseconds