[
https://issues.apache.org/jira/browse/NLPCRAFT-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482675#comment-17482675
]
Aaron Radzinski commented on NLPCRAFT-475:
------------------------------------------
Works as expected: NaN != NaN
https://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false-for-ieee754-nan-values
> IDL term condition error.
> -------------------------
>
> Key: NLPCRAFT-475
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-475
> Project: NLPCraft
> Issue Type: Bug
> Reporter: Sergey Kamov
> Assignee: Aaron Radzinski
> Priority: Major
> Fix For: 1.0.0
>
>
> NaN == NaN result is true, but must be false.
> Look at
> org.apache.nlpcraft.internal.intent.compiler.functions.NCIDLFunctionsMath#test
> branch NLPCRAFT-474
--
This message was sent by Atlassian Jira
(v8.20.1#820001)