unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Handle products with exact 0 differently, etc
Date: Tue, 01 Feb 2011 19:30:36 -0500	[thread overview]
Message-ID: <87oc6vuvkj.fsf@yeeloong.netris.org> (raw)
In-Reply-To: <m339o7wm1b.fsf@unquote.localdomain> (Andy Wingo's message of "Tue, 01 Feb 2011 21:13:36 +0100")

>> Subject: [PATCH] Trigonometric functions return exact numbers in some
>> cases
>
> Why would you want this?

I'm a developer of Maxima, a free CAS (computer algebra system).  I'm
interested in building a free CAS on top of Guile, probably with large
chunks of functionality adapted from Maxima.  As part of this, I would
like it to return exact results whenever feasible.  If the argument
passed to a trig function is a symbolic expression, that will
automatically be handled by GOOPS methods for the various operators.
However, there are a few exceptions where trig functions applied to
simple numbers will never reach GOOPS.  I'd like to do the right thing
in those cases.

Note that this is also the motivation behind my interest in bigfloats,
and in making sure that the numeric code is fully extensible.

     Best,
      Mark



  reply	other threads:[~2011-02-02  0:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 12:09 [PATCH] Handle products with exact 0 differently, etc Mark H Weaver
2011-02-01 20:13 ` Andy Wingo
2011-02-02  0:30   ` Mark H Weaver [this message]
2011-02-01 20:15 ` Andy Wingo
2011-02-01 23:28 ` Neil Jerram
2011-02-02  0:59   ` Mark H Weaver
2011-02-02  1:38     ` Neil Jerram
2011-02-02  3:20       ` Mark H Weaver
2011-02-02  4:22         ` Mark H Weaver
2011-02-02  4:28           ` Noah Lavine
2011-02-02  4:57             ` Mark H Weaver
2011-02-06 12:08             ` Neil Jerram
2011-02-06 14:15         ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc6vuvkj.fsf@yeeloong.netris.org \
    --to=mhw@netris.org \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).