コード例 #1
0
        public static IPrimitiveFloatingNumbers SetOneForPrimitiveFloatingNumbers(this IPrimitiveFloatingNumbers o)
        {
            o.Float  = 1f;
            o.Double = 1d;

            return(o);
        }
コード例 #2
0
        public static IPrimitiveFloatingNumbers SetZeroForPrimitiveFloatingNumbers(this IPrimitiveFloatingNumbers o)
        {
            o.Float  = 0f;
            o.Double = 0d;

            return(o);
        }
コード例 #3
0
 public static IPrimitiveFloatingNumbers SetMaxNegativeValueForPrimitiveFloatingNumbers(this IPrimitiveFloatingNumbers o)
 {
     return(o);
 }
コード例 #4
0
        public static IPrimitiveFloatingNumbers SetMinValueForPrimitiveFloatingNumbers(this IPrimitiveFloatingNumbers o)
        {
            o.Float  = float.MinValue;
            o.Double = double.MinValue;

            return(o);
        }