#avr Logs

Sep 30 2021

#avr Calendar

04:03 AM exp: what's funny is that algorithm works in Raku, because raku is smart enough to understand what i mean with negative values being integer divided
04:11 AM exp: but not in C, because it deals with n bit values
04:11 AM exp: still smells like there's a solution there but i don't have time or effort to locate it
08:51 AM specing_ is now known as specing
08:53 AM rue_mohr: what i mean with negative values being integer divided <-- what?
09:08 AM exp: rue_mohr: sorry, mod not div
09:09 AM rue_mohr: so when you give mod a negative number you dont want it to do a mod?
09:15 AM exp: no it doesn't wrap it to 255 and mod that is what i was saying
09:15 AM exp: just subtle type promotion issues, well subtle at midnight :)
09:29 AM rue_mohr: why would it do that
09:29 AM rue_mohr: its a remainder, its the remainder
09:32 AM qu1j0t3: rue_mohr: i think exp is saying that as a negative number, it was widened by promotion to int
09:32 AM qu1j0t3: easily fixed
01:56 PM JanC_ is now known as JanC
08:51 PM specing_ is now known as specing
09:23 PM Rab_ is now known as Rab