SDK 1.3.0 release
See release notes for details Co-authored-by: Brian Cooke <bdscooke@gmail.com> Co-authored-by: Luke Wren <wren6991@gmail.com> Co-authored-by: Uri Shaked <uri@urishaked.com> Co-authored-by: Zapta <zapta@users.noreply.github.com> Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com> Co-authored-by: Liam Fraser <liam@raspberrypi.com> Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com> Co-authored-by: Matias Silva <matita.martins@gmail.com> Co-authored-by: dp111 <19616418+dp111@users.noreply.github.com> Co-authored-by: Leonardo La Rocca <46094699+leoli51@users.noreply.github.com> Co-authored-by: Mahyar Koshkouei <mk@deltabeard.com> Co-authored-by: Brian Starkey <stark3y@gmail.com> Co-authored-by: Philip Howard <github@gadgetoid.com> Co-authored-by: Mike Causer <mcauser@gmail.com> Co-authored-by: Martino Facchin <m.facchin@arduino.cc> Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com> Co-authored-by: Manuel Wick <manuel@matronix.de> Co-authored-by: Matias Silva <git@matiasilva.com> Co-authored-by: Robert Pafford <19439938+rjp5th@users.noreply.github.com> Co-authored-by: Alasdair Allan <alasdair@raspberrypi.com> Co-authored-by: Engineer_Will <646689853@qq.com> Co-authored-by: Garatronic <31109090+garatronic@users.noreply.github.com>
This commit is contained in:
@ -158,6 +158,23 @@ void test_nesting() {
|
||||
if (0xffffffffu != a * 11 + b) {
|
||||
FAILED();
|
||||
}
|
||||
static uint64_t z64;
|
||||
z64 -= 47;
|
||||
uint64_t a64 = z64 / -13635;
|
||||
uint64_t b64 = z64 % -13635;
|
||||
if (z64 != a64 * -13635 + b64) {
|
||||
FAILED();
|
||||
}
|
||||
// specifically check 64/32 divide
|
||||
static uint64_t c64 = 0x13ffffffffull;
|
||||
static uint32_t cd = 1;
|
||||
a64 = c64 / cd;
|
||||
b64 = c64 % cd;
|
||||
if (c64 != a64 * cd + b64) {
|
||||
FAILED();
|
||||
}
|
||||
cd++;
|
||||
|
||||
}
|
||||
// these use the divider
|
||||
for(uint i=0;i<=100;i+=20) {
|
||||
|
Reference in New Issue
Block a user