# remainderl(3) [freebsd man page]

```REMAINDER(3)						   BSD Library Functions Manual 					      REMAINDER(3)

NAME
remainder, remainderf, remainderl, remquo, remquof, remquol -- minimal residue functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
remainder(double x, double y);

float
remainderf(float x, float y);

long double
remainderl(long double x, long double y);

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);

DESCRIPTION
remainder(), remainderf(), remainderl(), remquo(), remquof(), and remquol() return the remainder r := x - n*y where n is the integer nearest
the exact value of x/y; moreover if |n - x/y| = 1/2 then n is even.  Consequently the remainder is computed exactly and |r| <= |y|/2.  But
attempting to take the remainder when y is 0 or x is +-infinity is an invalid operation that produces a NaN.

The remquo(), remquof(), and remquol() functions also store the last k bits of n in the location pointed to by quo, provided that n exists.
The number of bits k is platform-specific, but is guaranteed to be at least 3.

fmod(3), ieee(3), math(3)

STANDARDS
The remainder(), remainderf(), remainderl(), remquo(), remquof(), and remquol() routines conform to ISO/IEC 9899:1999 (``ISO C99'').  The
remainder is as defined in IEEE Std 754-1985.

HISTORY
The remainder() and remainderf() functions appeared in 4.3BSD and FreeBSD 2.0, respectively.  The remquo() and remquof() functions were added
in FreeBSD 6.0, and remainderl() and remquol() were added in FreeBSD 8.0.

BSD								  March 30, 2008							       BSD```

## Check Out this Related Man Page

```REMAINDER(3)						   BSD Library Functions Manual 					      REMAINDER(3)

NAME
remainder, remainderf, remainderl, remquo, remquof, remquol -- minimal residue functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
remainder(double x, double y);

float
remainderf(float x, float y);

long double
remainderl(long double x, long double y);

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);

DESCRIPTION
remainder(), remainderf(), remainderl(), remquo(), remquof(), and remquol() return the remainder r := x - n*y where n is the integer nearest
the exact value of x/y; moreover if |n - x/y| = 1/2 then n is even.  Consequently the remainder is computed exactly and |r| <= |y|/2.  But
attempting to take the remainder when y is 0 or x is +-infinity is an invalid operation that produces a NaN.

The remquo(), remquof(), and remquol() functions also store the last k bits of n in the location pointed to by quo, provided that n exists.
The number of bits k is platform-specific, but is guaranteed to be at least 3.

fmod(3), ieee(3), math(3)

STANDARDS
The remainder(), remainderf(), remainderl(), remquo(), remquof(), and remquol() routines conform to ISO/IEC 9899:1999 (``ISO C99'').  The
remainder is as defined in IEEE Std 754-1985.

HISTORY
The remainder() and remainderf() functions appeared in 4.3BSD and FreeBSD 2.0, respectively.  The remquo() and remquof() functions were added
in FreeBSD 6.0, and remainderl() and remquol() were added in FreeBSD 8.0.

BSD								  March 30, 2008							       BSD```
Man Page

## how can i store it ?

how can i store a value which is larger than a long double value?? please help me.. -sham-

## replacing multiple lines

i have a file : sample1.txt OBJECT="POINT" ACTION="REDEFINE" POINT_NAME="ABCD001G " GHYT_POPRIORITY_1="1" GHYT_POPRIORITY_2="1" GHYT_POPRIORITY_3="1" GHYT_POPRIORITY_4="1" GHYT_POPRIORITY_USER="1" HIGH_ALARM_PRIORITY_1="1" HIGH_ALARM_PRIORITY_2="1" HIGH_ALARM_PRIORITY_3="1" ...

## linefeed problem

I have a file in which I need to remove all newline characters but only if they are preceded by "^C" ( ASCII value 3 ) Basically this is a bulk copy file with "^B" and "^C" as delimiters for each record. The application producing the file is also appending a newline which I need to remove,...

## Installing HP-UX o a windows based server

Hello, We would like to perform tests on a product that my company created lately. We don't have the right hardware for HP-UX enviornment I've read the thred "Unix environments for MS Windows", but didn't see there a possibility to install HP-UX OS on a special compatible hardware. We've...

## Dstat: column ---system---: what does int and csw mean.

Hello All It has been some time sense I was last here. Hopefully I have a few points left to get this question answered. I am finding that dstat is a really great tool, but does any one know what "init" and "csw" mean under the column --system--. I am not able to find anything in the man...

## Dstat: column ---system---: what does int and csw mean.

Hello All It has been some time sense I was last here. Hopefully I have a few points left to get this question answered. I am finding that dstat is a really great tool, but does any one know what "init" and "csw" mean under the column --system--. I am not able to find anything in the man...