Skip to main content
4 events
when toggle format what by license comment
Jan 9, 2021 at 21:03 comment added harun caliskanoglu no I haven't examined.But,Why would there be such a thing?Instead of sqrt I typed sqrtf because I didn't want to use double numbers unnecessarily. As for the main problem, I think it's related to compiler configurations. But I haven't figured it out yet.
Jan 8, 2021 at 13:01 comment added the busybee Did you look into the generated assembly? There might be some implicit conversions to double, or Atmel's compiler uses the standard sqrt() even for sqrtf().
Jan 8, 2021 at 11:47 comment added harun caliskanoglu I did float.the result is the same again.And I did sqrtf instead of sqrt.
Jan 2, 2021 at 15:49 history answered the busybee CC BY-SA 4.0