All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.IntegerUtils Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

The newest version!
package com.jtransc;

public class IntegerUtils {
	static public int umod(int left, int right) {
		int remainder = left % right;
		if (remainder < 0) {
			return remainder + right;
		} else {
			return remainder;
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy