unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* (elisp)Numbers
@ 2003-10-21  2:29 Luc Teirlinck
  2003-10-21  5:38 ` (elisp)Numbers Eli Zaretskii
  2003-10-22  9:25 ` (elisp)Numbers Richard Stallman
  0 siblings, 2 replies; 24+ messages in thread
From: Luc Teirlinck @ 2003-10-21  2:29 UTC (permalink / raw)


I read (elisp)Numbers and apart from a small correction to
(elisp)Integer Basics (in the overflow example), which I already
committed, I only have two questions:

1.  In (elisp)Numeric Conversions, is it worth pointing out that not
    only `floor', but also `truncate', `ceiling' and `round' take an
    optional DIVISOR argument?  (elisp)Numeric Conversions makes it
    look like only `floor' does. 

2.  In (elisp)Math Functions, it is said that asin, acos, log, log10
    and sqrt all return NaN values for out-of-range arguments, but, on
    my machine, only `sqrt' does.  The others throw an error, see the
    IELM run below.  Is this machine dependent?

ELISP> (asin 3)
*** Eval error ***  Arithmetic domain error: "asin", 3
ELISP> (acos 3)
*** Eval error ***  Arithmetic domain error: "acos", 3
ELISP> (log -3)
*** Eval error ***  Arithmetic domain error: "log", -3
ELISP> (log10 -3)
*** Eval error ***  Arithmetic domain error: "log10", -3
ELISP> (sqrt -3)
-0.0e+NaN
ELISP> (emacs-version)
"GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit)\n of 2003-10-20 on
swt40.swt.com"
ELISP> 

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 24+ messages in thread
* (elisp)Numbers
@ 2003-10-04 15:36 Luc Teirlinck
  2003-10-07 19:57 ` (elisp)Numbers Eli Zaretskii
  0 siblings, 1 reply; 24+ messages in thread
From: Luc Teirlinck @ 2003-10-04 15:36 UTC (permalink / raw)


What do we do with (elisp)Numbers now that integers have 29 bits?  (On
most machines.)  Should all examples in (elisp)Numbers be rewritten
for 29 bits or not?  Note that this would make the examples look
somewhat differently.  Instead of 7 groups of 4 we now would have one
digit "sticking out" to the left.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2003-10-28 20:40 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21  2:29 (elisp)Numbers Luc Teirlinck
2003-10-21  5:38 ` (elisp)Numbers Eli Zaretskii
2003-10-22  9:26   ` (elisp)Numbers Richard Stallman
2003-10-22 15:51     ` (elisp)Numbers Eli Zaretskii
2003-10-22  9:25 ` (elisp)Numbers Richard Stallman
2003-10-22 11:36   ` (elisp)Numbers Andreas Schwab
2003-10-22 15:42   ` (elisp)Numbers Eli Zaretskii
2003-10-23 18:38     ` (elisp)Numbers Richard Stallman
2003-10-24  8:43       ` (elisp)Numbers Andreas Schwab
2003-10-24 13:50         ` (elisp)Numbers Eli Zaretskii
2003-10-24 22:15           ` (elisp)Numbers Eli Zaretskii
2003-10-25 22:26             ` (elisp)Numbers Richard Stallman
2003-10-26  6:04               ` (elisp)Numbers Eli Zaretskii
2003-10-27  7:02                 ` (elisp)Numbers Richard Stallman
2003-10-27 19:56                   ` (elisp)Numbers Eli Zaretskii
2003-10-27 21:46                     ` (elisp)Numbers Andreas Schwab
2003-10-28  5:48                       ` (elisp)Numbers Eli Zaretskii
2003-10-28  6:40                         ` (elisp)Numbers Lars Brinkhoff
2003-10-28 20:03                           ` (elisp)Numbers Eli Zaretskii
2003-10-28 20:40                       ` (elisp)Numbers Richard Stallman
2003-10-24 13:38       ` (elisp)Numbers Eli Zaretskii
2003-10-24 22:04         ` (elisp)Numbers Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2003-10-04 15:36 (elisp)Numbers Luc Teirlinck
2003-10-07 19:57 ` (elisp)Numbers Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).