Exemple #1
0
        internal static NatFloat createFromBytes(BinaryReader reader)
        {
            NatFloat value = NatFloat.Zero;

            value.FromBytes(reader);
            return(value);
        }
Exemple #2
0
        public NatFloat copyWithOffset(float value)
        {
            NatFloat copy = new NatFloat(value, value, dist);

            copy.offset += value;
            return(copy);
        }