Article - CS404570
How to prevent negative results or "Probable error in function evaluation" error when using log() formula in Creo Parametric relations
Modified: 06-Nov-2023
Applies To
- Creo Parametric 9.0
Description
- Consider following relation configured in Creo Parametric, where "x" can be driven by an even more complicated formula
y=log(x)
- When verifying above formula in Relations UI:
- When x is equal or greater than "1", formula leads in positive results (zero or plus)
- When x is somewhere between zero and "1", formula leads in negative results
- When x is equal to zero:
- Formula leads in the following message:
Probable error in function evaluation
- This message is actually expected because log(0) is Undefined
| x>=1 => y is positive or null | 0<x<1 => y is negative | x=0 => y is Undefined |
- How to reconfigure above relation in order to:
- Provide ONLY positive results (accepting also zero), whatever the value of x
- prevent the "Probable error in function evaluation" error when x is equal to zero
This is a printer-friendly version of Article 404570 and may be out of date. For the latest version click CS404570