In current, the documentation of the FMath::Eval was wrote:
/**
* Evaluates a numerical equation.
*
* Operators and precedence: 1:+- 2:/% 3:* 4:^ 5:&|
* Unary: -
* Types: Numbers (0-9.), Hex ($0-$f)
* Grouping: ( )
*
* @param Str String containing the equation.
* @param OutValue Pointer to storage for the result.
* @return 1 if successful, 0 if equation fails.
*/
But, I cannot use the hex value then I read the implementation. And I found three mistakes between the documentation and implementation.
Mistakes:
- A parser of hex value is not implemented.
- A maintainer forgetting to write about the @ operator as the square root.
- A return value is not 0 or 1, that is true or false.
References: