remquo(3) Library Functions Manual remquo(3) remquo, remquof, remquol - (libm -lm) #include double remquo(double x, double y, int *quo); float remquof(float x, float y, int *quo); long double remquol(long double x, long double y, int *quo); glibc ( feature_test_macros(7)): remquo(), remquof(), remquol(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L x y. quo. . remainder(3). quo x / y 3 . remquo(29.0, 3.0) -1.0 2. . remainder(3). x y NaN NaN. x y NaN NaN. y x NaN NaN. math_error(7) . : : x y 0 NaN. (FE_INVALID). errno. attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |remquo(), | | MT-Safe | |remquof(), | | | |remquol() | | | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. glibc 2.1. C99 POSIX.1-2001. fmod(3), logb(3), remainder(3) 3 . . : . 6.18 8 2026 remquo(3)