T - the type of the value that the functions operate onpublic interface MathFunctionsAbs<T> extends Serializable
Copyright (c) 2015-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2016-05-28 14:25:52 +0200 (Sat, 28 May 2016) $, @version $Revision: 202 $, 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–2016 Delft University of Technology. All rights reserved.