/// <summary> /// Adjusts a floating point value by the specified amount of neighbouring /// representable values /// </summary> /// <param name="value">Floating point value to be adjusted</param> /// <param name="ulps">Numbers of neighbouring representable values to step</param> /// <returns>The adjusted floating point value</returns> private static float adjust(float value, int ulps) { return(FloatHelper.ReinterpretAsFloat(FloatHelper.ReinterpretAsInt(value) + ulps)); }