/src/main/java/net/finmath/randomnumbers/VanDerCorputSequence.java
index = null / base;
index = index / base;
public static double getVanDerCorputNumber(long index, int base) { index = index + 1; double x = 0.0; double refinementFactor = 1.0 / base; while(index > 0) { x += (index % base) * refinementFactor; <extra_id_0> refinementFactor = refinementFactor / base; } return x; } }