using AngouriMath; namespace AIStudio.Tools.Mathematics; /// /// The value of an expression without variables, with as many digits as the computation vouches for. /// /// The exact value when it is rational, or complex with rational parts; otherwise null. /// The value at the working precision, before it is rounded to its digits. /// How many significant digits of the value are certain; zero when none is. /// Whether a part of the value was integrated numerically. /// The estimated absolute error of an approximate value; null for any other. /// What the model has to know about the value. public sealed record NumericValue(Entity.Number? Exact, Entity.Number.Complex Value, int Digits, bool Approximate, double? EstimatedError, IReadOnlyList Issues);