summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-num2integral.c
AgeCommit message (Collapse)AuthorFilesLines
2018-06-20Update license notices in all C filesAndy Wingo1-17/+17
Update to newest recommended license notices from the FSF. Everything stays LGPLv3+ except guile-readline which is GPLv3+.
2018-06-20Remove (C) from copyright statementsAndy Wingo1-2/+2
As the FSF advises, 'There is no legal significance to using the three-character sequence “(C)”, but it does no harm.' It does take up space though! For that reason, we remove it here from our C files.
2014-04-25Merge branch 'stable-2.0'v2.1.0Mark H Weaver1-1/+3
Conflicts: GUILE-VERSION NEWS guile-readline/ice-9/readline.scm libguile/async.c libguile/backtrace.c libguile/deprecated.h libguile/gc-malloc.c libguile/gdbint.c libguile/init.c libguile/ioext.c libguile/mallocs.c libguile/print.c libguile/rw.c libguile/scmsigs.c libguile/script.c libguile/simpos.c libguile/snarf.h libguile/strports.c libguile/threads.c libguile/vm-i-scheme.c libguile/vm-i-system.c module/srfi/srfi-18.scm test-suite/Makefile.am test-suite/standalone/test-num2integral.c
2014-03-20tests: Add #undef NDEBUG when using <assert.h>.Ludovic Courtès1-1/+3
* test-suite/standalone/test-loose-ends.c, test-suite/standalone/test-num2integral.c, test-suite/standalone/test-round.c, test-suite/standalone/test-scm-c-bind-keyword-arguments.c, test-suite/standalone/test-scm-c-read.c, test-suite/standalone/test-scm-values.c, test-suite/standalone/test-smob-mark.c, test-suite/standalone/test-srfi-4.c: Add #undef NDEBUG.
2012-01-10Merge remote-tracking branch 'origin/stable-2.0'Andy Wingo1-3/+3
Conflicts: libguile/__scm.h libguile/array-map.c libguile/procprop.c libguile/tags.h module/ice-9/deprecated.scm module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm test-suite/standalone/test-num2integral.c test-suite/tests/regexp.test
2012-01-08Fix typo in `test-num2integral.c'.Ludovic Courtès1-2/+3
* test-suite/standalone/test-num2integral.c (out_of_range_handler): Use `scm_is_eq' when comparing KEY.
2011-05-15remove SCM_I_LLONG and SCM_I_ULLONG limit definesAndy Wingo1-10/+11
* test-suite/standalone/test-num2integral.c (test_long_long): (test_ulong_long): Replace SCM_I_LLONG and SCM_I_ULLONG defines with their counterparts from limits.h. * libguile/__scm.h: Remove SCM_I_LLONG and SCM_I_ULLONG limit defines.
2011-05-15fix type errors in test suiteAndy Wingo1-1/+2
* test-suite/standalone/test-num2integral.c (out_of_range_handler): Fix SCM used as a truth value. * test-suite/standalone/test-scm-spawn-thread.c (inner_main): Use SCM2PTR here.
2011-04-25Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests.Ludovic Courtès1-1/+1
* test-suite/standalone/test-asmobs-lib.c, test-suite/standalone/test-extensions-lib.c, test-suite/standalone/test-ffi-lib.c, test-suite/standalone/test-list.c, test-suite/standalone/test-num2integral.c, test-suite/standalone/test-with-guile-module.c: Change `#ifndef HAVE_CONFIG_H' to `#ifdef HAVE_CONFIG_H' (!).
2010-08-08deprecated all discouraged functionsAndy Wingo1-32/+13
* libguile/Makefile.am: * libguile/discouraged.c: Remove discouraged.c. * libguile/deprecated.c: * libguile/deprecated.h: * libguile/discouraged.h: All functions and declarations moved from discouraged.[ch] to deprecated.[ch], adding deprecation warnings. * libguile/init.c: Remove discouraged init. * libguile/numbers.c (scm_num2float, scm_num2double): Deprecate. * test-suite/standalone/test-num2integral.c: Port to modern API.
2009-06-17Change Guile license to LGPLv3+Neil Jerram1-6/+7
(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
2008-09-13Include <config.h> in standalone tests.Ludovic Courtès1-0/+4
* test-suite/standalone/Makefile.am (test_cflags): Add `-I$(top_builddir)' so that <config.h> can be found. (snarfcppopts): Likewise. * test-suite/standalone/*.c: Include <config.h>.
2008-04-07Fix "#include" directives in stand-alone C tests.Ludovic Courtès1-2/+2
2006-10-09merge from 1.8 branchKevin Ryde1-3/+8
2006-04-16merge from 1.8 branchKevin Ryde1-1/+1
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2004-08-03Only perform the tests when the disabled features are enabled.Marius Vollmer1-0/+12
2004-07-08(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Removed and used SCM_I_LLONG_MINMarius Vollmer1-27/+17
etc. instead. * numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to SCM_I_MAKINUM and changed all uses.
2004-07-06Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,Marius Vollmer1-8/+8
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool, respectively.
2004-04-27(test_long_long): ExerciseKevin Ryde1-1/+105
out-of-range errors on various cases. (test_ulong_long): New function, split from test_long_long and similarly exercising out-of-range.
2003-04-07* standalone/test-num2integral.c: new test -- one new regressionRob Browning1-0/+55
check.