Adds two numbers and returns the result with the specified accuracy.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BigFloat Add(
BigFloat left,
BigFloat right,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Public Shared Function Add (
left As BigFloat,
right As BigFloat,
accuracyGoal As AccuracyGoal,
roundingMode As RoundingMode
) As BigFloat
public:
static BigFloat^ Add(
BigFloat^ left,
BigFloat^ right,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
static member Add :
left : BigFloat *
right : BigFloat *
accuracyGoal : AccuracyGoal *
roundingMode : RoundingMode -> BigFloat
Parameters
- left
- Type: Extreme.MathematicsBigFloat
A BigFloat value. - right
- Type: Extreme.MathematicsBigFloat
A BigFloat value. - accuracyGoal
- Type: Extreme.MathematicsAccuracyGoal
An AccuracyGoal value that specifies the desired accuracy. - roundingMode
- Type: Extreme.MathematicsRoundingMode
A RoundingMode value that specifies how the result should be rounded.
Return Value
Type:
BigFloat
Reference