Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
drem(3)
Edit
PageHistory
Diff
Info
LikePages
DREM !!!DREM NAME SYNOPSIS DESCRIPTION RETURN VALUE ERRORS CONFORMING TO SEE ALSO ---- !!NAME drem - floating-point remainder function !!SYNOPSIS __#include __ ''x''__, double__ ''y''__); __ !!DESCRIPTION The __drem()__ function computes the remainder of dividing ''x'' by ''y''. The return value is ''x'' - ''n'' * ''y'', where ''n'' is the quotient of ''x'' / ''y'', rounded to the nearest integer. If the quotient is 1/2, it is rounded to the even number. !!RETURN VALUE The __drem()__ function returns the remainder, unless ''y'' is zero, when the function fails and ''errno'' is set. !!ERRORS __EDOM__ The denominator ''y'' is zero. !!CONFORMING TO BSD 4.3 !!SEE ALSO fmod(3) ----
2 pages link to
drem(3)
:
Man3d
fmod(3)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.