Click or drag to resize
sqx

SQXLogSub Method

Function [float] LogSub([float] X, [float] Y)
(Mathematics)

Namespace:  sqx
Assembly:  SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntax
C#
public static SqlDouble LogSub(
	SqlDouble X,
	SqlDouble Y
)

Parameters

X
Type: System.Data.SqlTypesSqlDouble
[float]
Y
Type: System.Data.SqlTypesSqlDouble
[float]

Return Value

Type: SqlDouble
[float]
Remarks
Logarithm Subtraction (Gaussian logarithms) function.
Examples
SQL
SELECT sqx.Bin(4,2) - sqx.Bin(3,2) [SubValue]
, EXP(sqx.LogSub(sqx.LogBin(4,2), sqx.LogBin(3,2))) [LogSub]
/*
SubValue               LogSub
---------------------- ----------------------
3                      3*/
See Also