Commit Graph

63 Commits

Author SHA1 Message Date
Vítor Santos Costa
7bfe8aedbe fix exception 2018-04-16 22:51:34 +01:00
Vitor Santos Costa
abb328abf0 more exception handling. 2018-04-16 14:54:53 +01:00
Vitor Santos Costa
df961cbd62 fix errors, goes òn.
fix overflow detection by using clang/gcc buit-ins..
2018-04-14 16:25:29 +01:00
Vítor Santos Costa
bc3555dfbf errors 2018-04-05 00:58:25 +01:00
Vitor Santos Costa
48bcffdce7 try to fix exceptions 2018-03-29 22:33:53 +01:00
Vitor Santos Costa
4180fd9737 error handling (Miguel Areias) 2017-03-23 12:28:46 +00:00
Vitor Santos Costa
a53615ceaf python .h collision 2017-02-20 14:21:46 +00:00
Vitor Santos Costa
b03e0634c7 fixes + win64 2016-11-08 01:37:36 -06:00
Vitor Santos Costa
d082af605d less invasive error handling 2016-10-19 22:44:59 -05:00
Vítor Santos Costa
7347edd5e0 first cut at detecting error source 2015-09-29 23:13:05 +01:00
Vítor Santos Costa
4336b2ba88 Avoid complaining from strlen
`
2015-09-21 17:05:36 -05:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Paulo Moura
b91c535ea3 Work in progress fixing evaluable type error terms 2015-04-09 01:51:36 +01:00
Vítor Santos Costa
3164ed2d61 doc support 2015-01-04 23:58:23 +00:00
Vitor Santos Costa
c13bf88377 error handling bugs in is/2 and =.., found by Paulo Moura. 2014-10-22 10:43:38 +01:00
Vítor Santos Costa
bf0844a2a0 make sure to reset state after error. 2014-10-20 00:33:36 +01:00
Vitor Santos Costa
1bb12cbc35 second try to fix error handling in arithmetic expressions. THis time:
- exit at predicate end;
- just return first on multiple erors.
- YapArithError takes care of inner errors, Yp_EvalError fixes externals.
- a few ISO stuff to make Paulo's unit tests go happier.
2014-10-16 10:49:11 +01:00
Vítor Santos Costa
8576e67d84 generate exceptions on arithmetic errors 2014-10-15 11:06:07 +01:00
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -05:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
ce8a4b6958 module fixes plus add better docs 2014-07-17 12:19:38 -05:00
Vítor Santos Costa
596768a56b documenetation . 2014-05-14 10:01:11 +01:00
Vítor Santos Costa
137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vítor Santos Costa
c3d0504a54 Avoid using repeated fiels names ( u -> ut ). 2014-03-12 15:47:53 +00:00
Vitor Santos Costa
6b2e1973ab Windows fixes, mainly H -> HB 2014-01-19 21:15:05 +00:00
Vítor Santos Costa
d1ff57b178 no GMP compilation 2013-09-06 23:03:24 +01:00
Vitor Santos Costa
cc6e33bff0 support logsum, very useful in probability computatiion 2013-07-25 10:20:33 -05:00
Vitor Santos Costa
55a440cf0c add isinf and isnan. 2013-07-16 09:58:57 -05:00
Vítor Santos Costa
6af394a35e fix PASS_REGS 2013-05-01 19:27:09 -05:00
Vitor Santos Costa
923be33404 speedup between
more exo stuff.
2013-04-30 15:23:01 -05:00
Vitor Santos Costa
64a61e2479 make between/3 a C-builtin. 2013-04-29 18:22:53 -05:00
Vítor Santos Costa
1ddd61314c support for X^[A,B] and X^length in arithmetic expressions. 2011-10-27 12:36:48 +02:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Joao
dc3c54c164 change LOCALS macros. 2011-05-04 10:11:41 +01:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vitor Santos Costa
b316710db5 make error handling close to ISO. 2010-02-26 12:01:08 +00:00
Vitor Santos Costa
e86a995dd2 fix bad test faster interface to eval (obs from Jose Santos) 2010-01-11 10:35:36 +00:00
Vitor Santos Costa
a7e6c5672e try to speed up eval a bit. 2010-01-04 21:16:42 -02:00
Vitor Santos Costa
da4aa804a7 improve error handling for is/2. 2010-01-03 15:42:51 -02:00
Vitor Santos Costa
0179998d60 change Heap.h to YapHeap.h
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vitor Santos Costa
6e3830aa4b improve error handling in arithmetic comparison (obs from Jose Santos) 2009-07-08 10:32:14 -05:00
Costa Vitor
75e08846fe vargs needs include. 2009-05-22 14:44:32 -05:00
Vitor Santos Costa
8e1c8d723e never do P=FAILCODE directly in the code. 2009-05-22 11:24:44 -05:00
Vitor Santos Costa
9852f7781d - simplify error handling in arithmetic and handle infinite terms (#46) 2009-05-22 11:21:39 -05:00
Vitor Santos Costa
2bc5d8425a fix arithmetic dependence on Prolog table. 2009-02-25 00:12:36 +00:00
Vitor Santos Costa
89635fb1f6 optimise is/2 as a binary predicate. 2009-02-09 22:21:58 +00:00
Vitor Santos Costa
8a3978e3e1 rename BinaryTestPredFlag to BinaryPredFlag
get rid of small annoying arithmetic bugs
2009-02-09 21:56:40 +00:00
Vitor Santos Costa
f679f21a71 cleanup unnecessary MkFunctor 2008-12-23 02:20:22 +00:00