Result

Struct containing the result of a calculation, along with the absolute error in that calculation (x ± δx).

It is assumed, but not checked, that the error is nonnegative.

Alias This

value

Members

Functions

opBinary
Result opBinary(Result rhs)
opOpAssign
Result opOpAssign(Result rhs)

Operators for Result-Result arithmetic.

opUnary
Result opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink, string formatSpec)
string toString(string formatSpec)

Get a string representation of the result.

Variables

error
E error;

Error.

value
V value;

Result.

Meta