Commit f379dae0 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[WP] (issue7): identify third problem

parent 0c7b5199
...@@ -31,7 +31,7 @@ From the man page of the pow-function: ...@@ -31,7 +31,7 @@ From the man page of the pow-function:
- The pow() function returns the value of x raised to the power of y. - The pow() function returns the value of x raised to the power of y.
- If y is 0, the result is 1.0 (even if x is a NaN). - If y is 0, the result is 1.0 (even if x is a NaN).
We potentially face two problems: We potentially face three problems:
1 When using the zero offset (least offset) trace as a reference for offset 1 When using the zero offset (least offset) trace as a reference for offset
dependent scaling (as is the default), a division by zero happens in dependent scaling (as is the default), a division by zero happens in
subroutine mpcfactors. subroutine mpcfactors.
...@@ -44,6 +44,8 @@ We potentially face two problems: ...@@ -44,6 +44,8 @@ We potentially face two problems:
the latter step there happens the nasty division by zero (division by mpc the latter step there happens the nasty division by zero (division by mpc
factor). This problem is present, even is the zero offset trace is not used factor). This problem is present, even is the zero offset trace is not used
as a reference. as a reference.
3 For a negative exponent the mpc factor of the zero offset trace would become
infinite even for a finite reference value.
Solutions: Solutions:
1 The first problem is resolved by not using a zero-offset trace as a 1 The first problem is resolved by not using a zero-offset trace as a
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment