1FMOD(3) 386BSD Programmer's Manual FMOD(3) 2 3NNAAMMEE 4 ffmmoodd - floating-point remainder function 5 6SSYYNNOOPPSSIISS 7 ##iinncclluuddee <<mmaatthh..hh>> 8 9 _d_o_u_b_l_e 10 ffmmoodd(_d_o_u_b_l_e _x, _d_o_u_b_l_e _y) 11 12DDEESSCCRRIIPPTTIIOONN 13 The ffmmoodd() function computes the floating-point remainder of _x/ _y. 14 15RREETTUURRNN VVAALLUUEESS 16 The ffmmoodd() function returns the value _x-_i*_y, for some integer _i such 17 that, if _y is non-zero, the result has the same sign as _x and magnitude 18 less than the magnitude of _y. If _y is zero, whether a domain error occurs 19 or the ffmmoodd() function returns zero is implementation-defined. 20 21SSEEEE AALLSSOO 22 math(3) 23 24SSTTAANNDDAARRDDSS 25 The ffmmoodd() function conforms to ANSI C3.159-1989 (``ANSI C''). 26 27BSD Experimental May 2, 1991 1 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67