AngouriMath

Navigation

Numbers


← Back to list of classes

Description

Summary

All operations for Number and its derived classes are available from here.
These methods represent the only possible way to explicitly create numeric instances.
It will automatically downcast the result for you,
so
Number.Create(1.0);
is an Integer.
To avoid it, you may temporarily disable it
using var _ = MathS.Settings.DowncastingEnabled.Set(false);
var yourNum = Number.Create(1.0);

and the result will be a Real.

Members

























2019-2021 Angouri · Project's repo · Site's repo · Octicons