33 lines · 461 B · Text
RawDownload
.TH ABS 2.SH NAMEabs, labs \- integer absolute values.SH SYNOPSIS.B #include <u.h>.br.B #include <libc.h>.PP.Bint	abs(int a).PP.Blong	labs(long a).SH DESCRIPTION.I Absreturnsthe absolute value of integer.IR a ,and.I labsdoes the same for a long..SH SOURCE.B /sys/src/libc/port/abs.c.SH SEE ALSO.IR floor (2)for.I fabs.SH DIAGNOSTICS.I Absand.I labsreturnthe most negative integer or long when the true result is unrepresentable.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t