bos/math-functions — Issue #6: incomopleteBeta cannot handle NaN as input
Author: Shimuuar
Created: 2012-02-16 16:08:15+00:00
State: open

If `incompleteBeta` get NaN as input it loops endlessly. While it's simple to fix I'm not sure what should be done. There are two possibilities:

1. Return NaN as `exp`, `log`, etc do
2. Call `error` as `incompleteBeta` already do if input is out of range.

I slightly in favor of 1 since NaN chasing isn't pleasant activity at all