Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 
 

DREM

Section: Manual del Programador de Linux (3)
Updated: 21 Enero 1995
Index Return to Main Contents
 

NOMBRE

drem - función resto de coma flotante  

SINOPSIS

#include <math.h>

double drem(double x, double y);
 

DESCRIPCIÓN

La función drem() calcula el resto de la división de x entre y. El valor devuelto es x - n * y, donde n es el cociente de x / y, redondeado al entero más cercano. Si el cociente es ½, se redondea al número par.  

VALOR DEVUELTO

La función drem() devuelve el resto, a menos que y sea cero, fallando entonces la función y poniendo EDOM en errno.  

ERRORES

EDOM
El denominador y es cero.
 

CONFORME A

BSD 4.3  

VÉASE TAMBIÉN

fmod(3)


 

Index

NOMBRE
SINOPSIS
DESCRIPCIÓN
VALOR DEVUELTO
ERRORES
CONFORME A
VÉASE TAMBIÉN

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.