samthiriot / genlab

Laboratory for the generation of synthetic populations
1 stars 3 forks source link

Extreme values in the code #46

Open Hyzbade opened 9 years ago

Hyzbade commented 9 years ago

In the future, it will be rather writing:

10E14 instead of Double.POSITIVE_INFINITY or Integer.MAX_VALUE

INF = StrictMath.pow(10, 14);

10E-14 instead of Double.MIN_VALUE

EPS = StrictMath.pow(10, -14);