imaxabs.3 (b18f2299302b0a9753621937d5b858bd9fefaa90) imaxabs.3 (7a4a63270ffd4cf0deae379b3ad32f57ea3c3e9d)
1.\" Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 20 unchanged lines hidden (view full) ---

29.Os
30.Sh NAME
31.Nm imaxabs
32.Nd returns absolute value
33.Sh LIBRARY
34.Lb libc
35.Sh SYNOPSIS
36.In inttypes.h
1.\" Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 20 unchanged lines hidden (view full) ---

29.Os
30.Sh NAME
31.Nm imaxabs
32.Nd returns absolute value
33.Sh LIBRARY
34.Lb libc
35.Sh SYNOPSIS
36.In inttypes.h
37.Ft intmax_t
37.Ft "intmax_t"
38.Fn imaxabs "intmax_t j"
39.Sh DESCRIPTION
40The
41.Fn imaxabs
42function returns the absolute value of
43.Fa j .
44.Sh SEE ALSO
45.Xr abs 3 ,
46.Xr fabs 3 ,
47.Xr hypot 3 ,
48.Xr labs 3 ,
49.Xr llabs 3 ,
50.Xr math 3
51.Sh STANDARDS
52The
38.Fn imaxabs "intmax_t j"
39.Sh DESCRIPTION
40The
41.Fn imaxabs
42function returns the absolute value of
43.Fa j .
44.Sh SEE ALSO
45.Xr abs 3 ,
46.Xr fabs 3 ,
47.Xr hypot 3 ,
48.Xr labs 3 ,
49.Xr llabs 3 ,
50.Xr math 3
51.Sh STANDARDS
52The
53.Fn imaxabs
53.Fm imaxabs
54function conforms to
55.St -isoC-99 .
56.Sh HISTORY
57The
58.Fn imaxabs
59function first appeared in
60.Fx 5.0 .
61.Sh BUGS
62The absolute value of the most negative integer remains negative.
54function conforms to
55.St -isoC-99 .
56.Sh HISTORY
57The
58.Fn imaxabs
59function first appeared in
60.Fx 5.0 .
61.Sh BUGS
62The absolute value of the most negative integer remains negative.