// Computes the two boundaries of value. // // The bigger boundary (mPlus) is normalized. // The lower boundary has the same exponent as mPlus. // // Precondition: // The value encoded by value must be greater than 0. public static DiyFp CreateAndGetBoundaries(float value, out DiyFp mMinus, out DiyFp mPlus) { var result = new DiyFp(value); result.GetBoundaries(SingleImplicitBitIndex, out mMinus, out mPlus); return(result); }