float example for singularity ; source code adjustments