Questions tagged [clang-11]

2 questions
0
votes
0 answers

floor(log10(a)/log10(b)) is not equal to floor(log(a)/log(b)) for some values

I can't figure out why l10 variable in code below isn't equal to l variable for values 243 and 59049 (probably there is some other values). They are both double values. So I think that the floor() function should return same results for both and…
0
votes
1 answer

Direct leak in SDLNet_TCP_Open

Edit: This leak does not happen on Linux, so perhaps this is a MacOS Big Sur issue? Building the following code with the following flags produces a Direct leak. Is this a false positive or an actual leak in SDL Net? Flags: -g -O0…
rhughes
  • 9,257
  • 11
  • 59
  • 87