stdlib.h: Maths (abs, labs, div_t, ldiv_t)

Introduction

Introduction

int abs(int x)

long int labs(long x);

div_t div(int numer, int denom); ldiv_t ldiv(long int numer, long int denom);

div_t and ldiv_t types are introduced in stdlib.h