C Tutorial/math.h/fmod — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Текущая версия на 10:32, 25 мая 2010

fmod

Item Value Header file math.h Declaration float fmodf(float a, float b);double fmod(double a, double b);long double fmodl(long double a, long double b); Return returns the remainder of a/b.


#include <math.h>
  #include <stdio.h>
  int main(void)
  {
    printf("%1.1f", fmod(10.0, 3.0));
    return 0;
  }