Click or drag to resize
Accord.NET (logo)

SpecialLogSum Method (Double, Double)

Computes x + y without losing precision using ln(x) and ln(y).

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double LogSum(
	double lnx,
	double lny
)
Request Example View Source

Parameters

lnx
Type: SystemDouble
lny
Type: SystemDouble

Return Value

Type: Double
See Also