예제 #1
0
 public static double ToDouble(ulong value)
 {
     UIntFloat num = new UIntFloat {
         longValue = value
     };
     return num.doubleValue;
 }
        public static float ToSingle(uint value)
        {
            UIntFloat uintFloat = default(UIntFloat);

            uintFloat.intValue = value;
            return(uintFloat.floatValue);
        }
예제 #3
0
 public static float ToSingle(uint value)
 {
     UIntFloat num = new UIntFloat {
         intValue = value
     };
     return num.floatValue;
 }
        public static double ToDouble(ulong value)
        {
            UIntFloat uintFloat = default(UIntFloat);

            uintFloat.longValue = value;
            return(uintFloat.doubleValue);
        }
예제 #5
0
        public static double ToDouble(ulong value)
        {
            UIntFloat uf = new UIntFloat();

            uf.longValue = value;
            return(uf.doubleValue);
        }
예제 #6
0
        public static float ToSingle(uint value)
        {
            UIntFloat uf = new UIntFloat();

            uf.intValue = value;
            return(uf.floatValue);
        }
예제 #7
0
        public static float ToSingle(uint value)
        {
            UIntFloat num = new UIntFloat {
                intValue = value
            };

            return(num.floatValue);
        }
예제 #8
0
        public static double ToDouble(ulong value)
        {
            UIntFloat num = new UIntFloat {
                longValue = value
            };

            return(num.doubleValue);
        }