-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething that's not working as intendedSomething that's not working as intended
Milestone
Description
The math ncr function is extremely slow when given NAN and 1 as parameters.
This issue is also open on tinyexpr: codeplea/tinyexpr#62
$ time math 'ncr(0/0, 1)'
math: Error: Result is infinite
'ncr(0/0, 1)'
________________________________________________________
Executed in 16.87 secs fish external
usr time 16.81 secs 16.81 secs 0.00 micros
sys time 0.06 secs 0.06 secs 0.00 microsThis should be fixable by adding nan checks for the parameters of ncr.
fish, version 3.2.1-1-gb80964b6b
Metadata
Metadata
Assignees
Labels
bugSomething that's not working as intendedSomething that's not working as intended