public NumberSemantics( NumberKind DefaultKind = NumberKind.Int32, FloatSemantics LongDoubleSemantics = FloatSemantics.X87DoubleExtended, FloatSemantics QuadSemantics = FloatSemantics.IEEEQuad) { if (!DefaultKind.IsInteger()) { throw new ArgumentException("DefaultKind must be an integer", nameof(DefaultKind)); } this.DefaultKind = DefaultKind; this.LongDoubleSemantics = LongDoubleSemantics; this.QuadSemantics = QuadSemantics; }
public NumberSemantics() { DefaultKind = NumberKind.Int32; LongDoubleSemantics = FloatSemantics.X87DoubleExtended; QuadSemantics = FloatSemantics.IEEEQuad; }