[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Invalid value in binomial
From: |
Kacper Gutowski |
Subject: |
Re: [Bug-apl] Invalid value in binomial |
Date: |
Sat, 17 Dec 2016 00:33:57 +0100 |
User-agent: |
NeoMutt/20161126 (1.7.1) |
Thanks.
I noticed one more thing, with numbers of huge magnitude of either
sign or with infinities, it fails an assertion rather than reporting
domain error.
1!⋆99
==============================================================================
Assertion failed: N >= K
in Function: do_binomial
in file: NumericCell.cc:1111
Call stack:
----------------------------------------
-- Stack trace at NumericCell.cc:1111
----------------------------------------
0x7fd99ed572b1 __libc_start_main
0x560995a4d7f5 main
0x560995bade2d Workspace::immediate_execution(bool)
0x560995a99af5 Command::process_line()
0x560995a99c1f Command::do_APL_expression(UCS_string&)
0x560995aa53dd Executable::execute_body() const
0x560995b4eda4 StateIndicator::run()
0x560995ae416b Prefix::reduce_statements()
0x560995addbcb Prefix::reduce_A_F_B_()
0x560995b4900f Bif_F12_BINOM::eval_AB(Value_P, Value_P)
0x560995b431c9 ScalarFunction::eval_scalar_AB(Value_P, Value_P,
ErrorCode (Cell::*)(Cell*, Cell const*) const)
0x560995ad721f NumericCell::bif_binomial(Cell*, Cell const*) const
0x560995ad6d48 NumericCell::do_binomial(Cell*, long, long, bool)
0x560995a6092d do_Assert(char const*, char const*, char const*,
int)
========================================
SI stack:
Depth: 0
Exec: 0x560996f28620
Safe exec: 0
Pmode: ◊ 1!⋆99
PC: 4 (6) ENDL
Stat: 1!⋆99
err_code: 0x0
==============================================================================
-k