avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't reproduce documented overflow behavior of _delay_ms()


From: Georg-Johann Lay
Subject: Re: can't reproduce documented overflow behavior of _delay_ms()
Date: Thu, 6 Feb 2020 13:45:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Am 04.02.20 um 23:05 schrieb Joerg Wunsch:
As Georg-Johann Lay wrote:

hmmm.  So there is more work to do for double support?  We definitely do not
want double here but float instead...

I disagree.

This is all just happening in temporary variables inside of "static
inline" functions, and thus completely optimized away by the compiler.
Thus, the actual argument type doesn't really matter.

As yes, of course.

With optimizations turned off, all bets for the various _delay*
functions are gone anyway.

Johann



reply via email to

[Prev in Thread] Current Thread [Next in Thread]