About 79 results
Open links in new tab
  1. math - sin v/s sinf function in C - Stack Overflow

    Jan 10, 2017 · sinf() was added to C in C99, which Microsoft Visual C++ does not fully support (even so, Visual C++ 6 was released before C99 was standardized). You can use the sin() function, which …

  2. Float inputs for which sinf and sin return different results?

    Oct 6, 2021 · I'm trying to understand something about sin and sinf from math.h. I understand that their types differ: the former takes and returns doubles, and the latter takes and returns floats. However, …

  3. math.h - Sinf - Does it exist in C++? - Stack Overflow

    Feb 1, 2012 · I was curious to know whether or not the sinf function existed in C++ through including math.h. When viewing my auto-completion in Qt Creator, it doesn't appear to pop up. It makes me …

  4. c++ - `cosf`, `sinf`, etc. are not in `std` - Stack Overflow

    Jun 3, 2019 · `cosf`, `sinf`, etc. are not in `std` [duplicate] Asked 6 years, 8 months ago Modified 6 years, 8 months ago Viewed 6k times

  5. __builtin_sinf What is it? Where is it? How do I obtain the ...

    Jun 6, 2022 · Can anyone offer any explaination as to what __builtin_sinf is, where it is located if it exists in a file on my system, and finally how to obtain the disassembly of this function?

  6. SVPWM and sinf () slow calculation. - STMicroelectronics

    Posted on June 19, 2016 at 16:46 Hello to everyone, i am building an old project with STM32F107 now. I am trying to calculate the SVPWM values on the fly but seems like compiler's code is so long.I am …

  7. Any performance difference between sinf(), cosf() and sin(), cos()

    Apr 23, 2013 · I have code that works mainly with single-precision floating point numbers. Calls to transcendental functions occur fairly often. Right now, I'm using sin(), cos(), sqrt(), etc--functions that …

  8. Floating point values with sin () and sinf () - Stack Overflow

    May 4, 2014 · However, when I replaced a variable, s, with sinf (x), the problem of inaccuracy did not occur (as seen in (2) vs (3)). I could guess sinf () might be implemented as the same thing as sin ().

  9. undefined reference to `cosf' `sinf' - STMicroelectronics

    Feb 10, 2020 · Need to look more carefully at what library, and paths, it is pulling them from. Need to make sure you're not using a lite library lacking standard C math functions. Check also library ordering.

  10. math - Fastest implementation of sine, cosine and square root in C++ ...

    Sep 6, 2013 · The standard C sinf () and cosf () functions are terribly slow and offer much more precision than what we actually need. What we really want is an approximation that offers the best …