Click or drag to resize
Accord.NET (logo)

SpecialLogSum Method (Single, Single)

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(
	float lnx,
	float lny
)
Request Example View Source

Parameters

lnx
Type: SystemSingle
lny
Type: SystemSingle

Return Value

Type: Double
See Also