Hickerson series of almost integers: Difference between revisions
Hickerson series of almost integers (view source)
Revision as of 19:57, 21 January 2017
, 7 years ago→{{header|Kotlin}}: Changed read-only property to compile time constant
(Added Kotlin) |
(→{{header|Kotlin}}: Changed read-only property to compile time constant) |
||
Line 1,058:
object Hickerson {
private const val
fun almostInteger(n: Int): Boolean {
val a = BigDecimal(
var nn = n
var f = n.toLong()
|