publicstaticvoid main(String[] args) {
Test test = new Test(); long workJ = 2; long workK = 3; float workJ1 = 10.0f; float workK1 = 15.0f; int workJ2 = 10; int workK2 = 15; long workJ3 = 0xFAEFFFAB; long workK3 = 0xF8E9DCBA;
for (long i = 0; i < iterations; i++) {
workJ = test.simplemethodMul(workJ, workK) + i;
}
assertLongEquals(workJ, 132855);
for (float i = 0.0f; i < iterations; i++) {
workJ1 = test.simplemethodRem(workJ1, workK1) + i;
}
assertFloatEquals(workJ1, 14.0f);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.