T
- the type of the value that the functions operate onpublic interface MathFunctionsAbs<T> extends Serializable
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, 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–2019 Delft University of Technology. All rights reserved.