1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
guile/doc/ref
Mark H Weaver 7112615f73 Implement finite?' in core and fix R6RS finite?' and `infinite?'
* libguile/numbers.c (scm_finite_p): Add new predicate `finite?' from
  R6RS to guile core, which returns #t if and only if its argument is
  neither infinite nor a NaN.  Note that this is not the same as (not
  (inf? x)) or (not (infinite? x)), since NaNs are neither finite nor
  infinite.

* test-suite/tests/numbers.test: Add test cases for `finite?'.

* module/rnrs/base.scm: Import `inf?' as `infinite?' instead of
  reimplementing it.  Previously, the R6RS implementation of
  `infinite?' did not detect non-real complex infinities, nor did it
  throw exceptions for non-numbers.  (Note that NaNs _are_ considered
  numbers by scheme, despite their name).

  Import `finite?' instead of reimplementing it.  Previously, the R6RS
  implementation of `finite?' returned #t for both NaNs and non-real
  complex infinities, in violation of R6RS.

* NEWS: Add NEWS entries, and reorganize existing numerics-related
  entries together under one subheading.

* doc/ref/api-data.texi (Real and Rational Numbers): Add docs for
  `finite?' and scm_finite_p.
2011-01-28 12:21:14 +01:00
..
.gitignore add www-commit rule in doc/ref 2010-12-17 16:41:58 +01:00
api-binding.texi letrec* in docs, and some r6rs fixes 2010-08-06 11:52:27 +02:00
api-compound.texi Add vhash-fold*' in (ice-9 vlist)'. 2010-07-21 00:28:58 +02:00
api-control.texi Document `scm_misc_error' (bug #31969). 2011-01-04 18:29:55 +01:00
api-coverage.texi Manual sections don't need a page break before 2010-10-31 08:34:05 +00:00
api-data.texi Implement finite?' in core and fix R6RS finite?' and `infinite?' 2011-01-28 12:21:14 +01:00
api-debug.texi proof-reading fixen in api-debug 2010-10-08 10:54:03 +02:00
api-deprecated.texi a number of doc fixes 2010-08-16 21:36:14 -07:00
api-evaluation.texi Choose the input source file encoding in a locale-independent way. 2011-01-24 21:44:44 +01:00
api-foreign.texi Manual sections don't need a page break before 2010-10-31 08:34:05 +00:00
api-i18n.texi Merge branch 'wip-manual-2' 2010-04-16 22:26:32 +01:00
api-init.texi Fix explicitely' typos, should be explicitly' 2009-05-20 18:51:03 +01:00
api-io.texi update read-delimited! docs 2010-12-06 15:19:40 +01:00
api-lalr.texi Manual sections don't need a page break before 2010-10-31 08:34:05 +00:00
api-languages.texi Merge branch 'wip-manual-2' 2010-04-16 22:26:32 +01:00
api-macros.texi Manual sections don't need a page break before 2010-10-31 08:34:05 +00:00
api-memory.texi a number of doc fixes 2010-08-16 21:36:14 -07:00
api-modules.texi add ,reload meta-command and document it and reload-module 2010-12-17 13:27:43 +01:00
api-options.texi document hungry-eol-escapes 2011-01-21 09:24:36 +01:00
api-overview.texi Manual typo fix 2010-12-23 12:17:26 +00:00
api-procedures.texi Add compose', negate', and `const'. 2010-12-16 23:45:23 +01:00
api-regex.texi Promote regex doc out of the `Simple Data Types' section 2010-10-31 08:24:28 +00:00
api-scheduling.texi Clarify doc regarding threading of par-map' and par-for-each'. 2010-12-17 21:55:56 +01:00
api-scm.texi * scheme-binding.texi: Renamed to api-binding.texi. 2004-08-02 12:29:00 +00:00
api-smobs.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
api-snarf.texi Typos fixed. Use existing functions in explaining symbol and keyword 2004-08-25 19:02:34 +00:00
api-undocumented.texi Remove non-existent *environment* APIs from api-undocumented.texi 2010-09-11 16:34:19 +01:00
api-utility.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
api.txt Changes in doc/ref: 2002-03-01 00:19:20 +00:00
autoconf.texi make the use of the 5-argument @xref command consistent 2009-12-18 01:21:55 +00:00
ChangeLog-2008 Rename ChangeLog' files to ChangeLog-2008'. 2008-09-12 21:49:58 +02:00
ChangeLog-goops-2008 Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
ChangeLog-guile-doc-ref
compiler.texi fix <letrec> docs 2010-08-27 09:16:44 -07:00
data-rep.texi update "data representation" part of guile internals doc 2010-03-14 14:39:47 +01:00
effective-version.texi.in Add an effective version variable for the manual 2009-08-04 12:08:02 +01:00
expect.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
fdl.texi Upgrade manual to GFDLv1.3+. 2010-06-01 00:02:35 +02:00
gds.dia replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.eps replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.pdf replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.txt replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
goops-tutorial.texi Merge tutorial' and reference' treatments of the same basic GOOPS 2010-12-06 22:28:39 +00:00
goops.texi Confront the MOP 2011-01-14 21:53:37 +00:00
guile.texi add web.texi to manual 2010-12-16 14:52:25 +01:00
hierarchy.eps Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.pdf Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.png Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.txt Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
history.texi Typeset Ludo's name correctly 2010-10-03 23:17:54 +01:00
indices.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
intro.texi Fix incorrect uses of en-dashes and em-dashes in the intro. 2010-11-19 14:28:40 +01:00
libguile-concepts.texi Merge branch 'master' into wip-manual-2 2010-04-10 13:32:42 +01:00
libguile-extensions.texi In general, use @lisp in preference to @smalllisp 2009-08-09 15:04:08 +01:00
libguile-linking.texi Update manual examples of how to link with Guile 2010-03-22 22:13:35 +01:00
libguile-program.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
libguile-smobs.texi update "data representation" part of guile internals doc 2010-03-14 14:39:47 +01:00
libguile-snarf.texi more typo fixes 2009-12-18 00:53:34 +00:00
make-texinfo.scm Remove dependency on GNU Make and reliance on /usr/bin/env. 2010-01-03 19:06:52 +01:00
Makefile.am add www-commit rule in doc/ref 2010-12-17 16:41:58 +01:00
match.texi Document (ice-9 match). 2010-08-27 18:59:43 +02:00
misc-modules.texi fix format ~f documentation for width combined with overflowchar 2011-01-26 20:13:31 +01:00
mod-getopt-long.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
mop.text Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
new-docstrings.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
posix.texi Change getaddrinfo' test to handle the GNU-specific EAI_NODATA'. 2011-01-05 22:17:26 +01:00
preface.texi preface contributors tweaks 2010-10-11 23:32:30 +02:00
r6rs.texi Assorted `syntax-check' fixes. 2010-08-27 18:59:42 +02:00
repl-modules.texi debug and readline options doc tweak 2010-10-01 11:15:12 +02:00
scheme-ideas.texi Fix inconsistent sectioning, causing make to fail 2010-04-26 22:18:45 +01:00
scheme-indices.texi Added Copyright notice. 2004-01-21 22:40:39 +00:00
scheme-intro.texi Update and simplify statement about RnRS support 2009-12-18 01:21:55 +00:00
scheme-reading.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
scheme-scripts.texi Document missing Guile command line options 2011-01-15 20:57:01 +00:00
scheme-using.texi add ,reload meta-command and document it and reload-module 2010-12-17 13:27:43 +01:00
scheme.dia replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.eps replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.pdf replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.txt replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
script-getopt.texi Remove page breaks except before new chapters and indices 2009-12-19 00:58:54 +00:00
scsh.texi update scsh doc 2010-08-17 08:48:49 -07:00
slib.texi added brief introduction about SLIB 2009-12-18 00:51:20 +00:00
srfi-modules.texi Add implementation of SRFI 38 2010-11-03 00:19:54 +01:00
standard-library.am Remove dependency on GNU Make and reliance on /usr/bin/env. 2010-01-03 19:06:52 +01:00
standard-library.scm integrate guile-lib docs 2009-12-21 00:01:49 +01:00
sxml-match.texi Document (ice-9 match). 2010-08-27 18:59:43 +02:00
tools.texi [maint] Remove unused script guile-doc-snarf. 2010-07-22 21:10:38 +02:00
tour.texi minor doc fixups 2010-10-12 13:01:30 +02:00
vm.texi Update example disassemblies 2010-05-02 14:18:58 +02:00
web.texi web.texi fix 2011-01-22 19:56:23 +01:00