T
- the type of the value that the functions operate onpublic interface MathFunctionsAbs<T> extends Serializable
Copyright (c) 2015-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2018-01-28 03:17:44 +0100 (Sun, 28 Jan 2018) $, @version $Revision: 256 $, by $Author: averbraeck $,
initial version 26 jun, 2015
Modifier and Type | Method and Description |
---|---|
T |
ceil()
Set the value(s) to the smallest (closest to negative infinity) value(s) that are greater than or equal to the argument
and equal to a mathematical integer.
|
T |
floor()
Set the value(s) to the largest (closest to positive infinity) value(s) that are less than or equal to the argument and
equal to a mathematical integer.
|
T |
rint()
Set the value(s) to the value(s) that are closest in value to the argument and equal to a mathematical integer.
|
T |
round()
Set the value(s) to the closest long to the argument with ties rounding up.
|
T ceil()
T floor()
T rint()
T round()
Copyright © 2015–2018 Delft University of Technology. All rights reserved.