Commit Graph

66 Commits

Author SHA1 Message Date
Vitor Santos Costa 58136ead22 fix boot, docs, compiler warnings 2018-06-18 22:53:53 +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
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
Vítor Santos Costa 1155b6b876 Paulo Moura: fix iso_is_2_35 2016-03-05 12:50:43 +00:00
Vítor Santos Costa b871f6676e fix error handling 2015-09-25 10:57:26 +01: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 93270c125a fix several ISO compat bugs (Paulo Moura). 2014-10-22 16:50:12 +01:00
Vítor Santos Costa bf0844a2a0 make sure to reset state after error. 2014-10-20 00:33:36 +01:00
Vítor Santos Costa 168f0c6c0c improve error handling 2014-10-16 23:55:34 +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 137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vitor Santos Costa d163cadda1 pass regs when constructing long ints and floats.
fix small gcc complaints.
2013-03-26 15:01:52 -05:00
Vitor Santos Costa 60969b9601 rem and mod used code from div :( (Robrto Bagnara) 2013-02-12 16:45:03 -06:00
Vítor Santos Costa 9348513d12 fix unused variable. 2011-12-30 15:51:01 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa 5f3df98069 make sure wide property is always the first property. 2011-08-17 11:16:21 -07:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa 840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vítor Santos Costa b23f2c92af fix bad error message for div 0 (UN #217). 2011-04-22 14:48:33 +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 3cfe5c74d5 fix div to round correctly (Ulrich's #181). 2010-10-08 10:58:08 +01:00
Vitor Santos Costa c50ed643f9 allow atan(X,Y) again. 2010-09-27 22:01:38 +01:00
Vitor Santos Costa ea0fbabedd xor can be used for exclusive disj 2010-09-21 22:26:24 +01:00
Vitor Santos Costa e4a15cba33 div/2 operators (from WG17 and #176) 2010-08-30 21:50:33 -05:00
Vitor Santos Costa 7bf8187bba remove atan2 (WG17 UD #175) 2010-08-04 22:09:08 +01:00
Vítor Santos Costa ab84319604 compile without gmp 2010-06-01 01:07:36 +01:00
Vítor Santos Costa 09fef1a033 rational number support. First pass. 2010-05-27 12:24:15 +01:00
Vítor Santos Costa c52dda489b be careful around 1L and friends 2010-05-11 00:18:12 +01:00
Vitor Santos Costa ba091eb2f9 support db_ref_e: 2010-03-06 22:43:21 +00:00
Vitor Santos Costa 8fc50d9935 make YAP throw a runtime-error on unknown arithmetic ops. 2010-03-06 00:16:49 +00:00
Vitor Santos Costa f137773011 fix error handling on entry arguments. 2010-02-22 22:48:13 +00:00
Vitor Santos Costa 33f3dcc3d1 avoid excessive error testing 2010-01-03 15:43:07 -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
Vítor Manuel de Morais Santos Costa d18cb214fa implement epsilon (from ISO) 2009-10-20 09:21:59 +01:00
Vitor Santos Costa 22ac3ee80b Use >< for xor (Paulo Mour, Iso meeting) 2009-07-23 14:31:04 -05:00
Costa Vitor c8946e1e4e support inline arithemtic builtins as non-inlined. 2009-07-22 17:01:30 -05:00
Costa Vitor 9569d04a9f remove some warnings in the absence of GMP 2009-06-15 10:11:05 -05:00
Vitor Santos Costa 7e108201b0 fix memory leak in mod. 2009-06-05 10:55:28 -05:00
Vitor Santos Costa ecb03a61c0 fix memory leak in min/2 and max/2. 2009-06-05 10:38:07 -05:00
Vitor Santos Costa a1b621507a max of bignums would always return the first bignum #118 2009-06-05 09:49:00 -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 5b527e7eeb just make things prettier. 2009-05-09 23:39:57 -04:00
Vitor Santos Costa 5b537ef7e2 fix error handling. 2009-05-09 23:30:08 -04:00
Vitor Santos Costa e4fdf5a1ff fix (??) X^N, N< 0. When does this make sense? 2009-05-07 23:42:16 -04:00
Vitor Santos Costa 2016e118b3 Ulrich Neumerkel's patch so that variables are declared in front of a block. 2009-05-02 10:54:09 -05:00
Vitor Santos Costa c5ba7e3854 fix non GMP code (obs from Tony Wilson). 2009-04-26 10:46:00 -05:00
Vitor Santos Costa 2503805aff support 2^2 is 4 and not 4.0: complicated if we have to deal with bignums. 2009-04-24 19:03:00 -05:00