It is not a division actually
float fmod (float numer, float denom);
Returns the floating-point remainder of numer/denom.
In your case remainder is 1.
More Related Contents:
- How do I compare chars (or strings) using void functions, also comparing chars that were taken from a struct array
- What is the bit size of long on 64-bit Windows?
- What does the question mark character (‘?’) mean in C++?
- How to create a dynamic array of integers
- std::endl is of unknown type when overloading operator
- eof() bad practice? [duplicate]
- what happens when you modify an element of an std::set?
- How to ‘cout’ the correct number of decimal places of a double value?
- How is a vector’s data aligned?
- Detect 32-bit or 64-bit of Windows
- The copy constructor and assignment operator
- std::map, pointer to map key value, is this possible?
- Why does the most negative int value cause an error about ambiguous function overloads?
- Why does a std::atomic store with sequential consistency use XCHG?
- Similar String algorithm
- How can I use an array as map value?
- Using CMake to generate Visual Studio C++ project files
- How to target Windows XP in Microsoft Visual Studio C++ [duplicate]
- How do I find the current system timezone?
- Return a named object of a class from a function (by value ) and implicit move rule?
- How do you add a timed delay to a C++ program?
- What lasts after using std::move c++11
- Why do we need to tie std::cin and std::cout?
- Why can’t I replace std::map with std::unordered_map
- const char* concatenation
- std::thread::join() hangs if called after main() exits when using VS2012 RC
- When to use extern “C” in C++? [duplicate]
- Can I call memcpy() and memmove() with “number of bytes” set to zero?
- How to get duration, as int milli’s and float seconds from ?
- C++ Best way to get integer division and remainder