If you want to accept any floating point type but not implicit conversions,then use std.traits.isFloatingPoint.
Thank you that's good to know. Though for this particular example I was just making a basic demo of the problem.
If you want to accept any floating point type but not implicit conversions,then use std.traits.isFloatingPoint.
Thank you that's good to know. Though for this particular example I was just making a basic demo of the problem.