summaryrefslogtreecommitdiff
path: root/atan2.c
Commit message (Collapse)AuthorAgeFilesLines
* New exponent type mpfr_exp_t for MPFR (replacing GMP's mp_exp_t).vlefevre2010-05-071-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6789 280ebfd0-de03-0410-8827-d642c229c3f4
* Changed mp_prec_t into mpfr_prec_t.vlefevre2010-04-301-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6767 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2010 withvlefevre2010-01-201-1/+1
| | | | | | | perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the mbench directory. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6684 280ebfd0-de03-0410-8827-d642c229c3f4
* towards -> toward (consistency).vlefevre2009-09-021-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6407 280ebfd0-de03-0410-8827-d642c229c3f4
* Renamed COPYING.LIB as COPYING.LESSER (GNU Coding Standards, #7.3)vlefevre2009-07-301-1/+1
| | | | | | and updated all the references (except in ChangeLog). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6351 280ebfd0-de03-0410-8827-d642c229c3f4
* mp_rnd_t -> mpfr_rnd_tvlefevre2009-06-261-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4
* [atan2.c,tatan.c] reduced Ziv's initial precision and added test to havezimmerma2009-03-051-1/+1
| | | | | | | 100% coverage of atan2.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6067 280ebfd0-de03-0410-8827-d642c229c3f4
* GMP_RNDX -> MPFR_RNDXzimmerma2009-03-031-15/+15
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4
* Update to LGPL v3+, as decided by the main MPFR developers.vlefevre2009-03-031-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6050 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2009 withvlefevre2009-01-151-1/+1
| | | | | | | perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5814 280ebfd0-de03-0410-8827-d642c229c3f4
* This is now GNU MPFR!vlefevre2008-10-271-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5654 280ebfd0-de03-0410-8827-d642c229c3f4
* Final code clean-up based on icc warnings.vlefevre2008-08-071-16/+16
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5493 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2008 withvlefevre2008-01-011-1/+1
| | | | | | | | perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5151 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the feature-block branch to the trunk:vlefevre2007-12-181-3/+6
| | | | | | | | | | | | | | | * New MPFR_BLOCK* macros (see mpfr-impl.h) and mpfrlint check to test exception flags in a more reliable way and detect possible problems with mpfrlint. * Improved the generic tests (tests/tgeneric.c): for the second function call, sometimes set all the flags since risk of failures are known when some flags are already set. * Modified code to use these new MPFR_BLOCK* macros. This fixed bugs related to exceptions (where flags are set before the call); in particular, tcot and ty1 failed with the improved generic tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5115 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed a bug (found by Robert Bajema) in mpfr_atan2, which can occur ifvlefevre2007-10-041-0/+1
| | | | | | | the underflow flag is set before the call and x > 0; added testcase. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4876 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: as we supposed some property, let's add an assertion (whichvlefevre2007-08-281-0/+2
| | | | | | | can be evaluated at compile time). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4795 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: improved comment.vlefevre2007-08-281-1/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4794 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: completed the underflow case.vlefevre2007-08-281-11/+17
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4793 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: fixed the underflow case except in GMP_RNDN withvlefevre2007-08-281-9/+19
| | | | | | | 2^(-emin-2) < |y/x| < 2^(-emin-1). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4792 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: implemented the special case where x is positive and y/x isvlefevre2007-08-281-4/+12
| | | | | | | computed exactly (solving the underflow problems in this case). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4790 280ebfd0-de03-0410-8827-d642c229c3f4
* erfc.c, atan2.c: added missing "MPFR_SAVE_EXPO_FREE (expo);" beforevlefevre2007-07-181-0/+1
| | | | | | | | "return mpfr_underflow (...);". erfc.c: replaced a goto by an else. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4651 280ebfd0-de03-0410-8827-d642c229c3f4
* now deal with underflow in y/x (remains to deal with overflow)zimmerma2007-07-181-1/+11
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4650 280ebfd0-de03-0410-8827-d642c229c3f4
* atan2.c: quick-and-dirty fix for atan2(y,1)zimmerma2007-07-181-0/+6
| | | | | | | tests/tatan.c: fix tests from Christopher [x and y were interchanged] git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4646 280ebfd0-de03-0410-8827-d642c229c3f4
* Added "Contributed by the Arenaire and Cacao projects, INRIA." to thevlefevre2007-02-071-0/+1
| | | | | | | copyright notices and removed a few old things. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4350 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2007.vlefevre2007-01-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4326 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed FSF address.vlefevre2006-03-311-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4055 280ebfd0-de03-0410-8827-d642c229c3f4
* Added ', Inc.' when missing after 'Free Software Foundation'.vlefevre2006-01-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3985 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated the copyright notices according to the new GNU rules on:vlefevre2006-01-051-1/+1
| | | | | | | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices i.e. added 2006 to every MPFR file. Note: the copyright notices (currently 336) should match the regexp Copyright.* 2006 Free Software so that it will be easier to update them for the next year... git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3983 280ebfd0-de03-0410-8827-d642c229c3f4
* Removed trailing spaces (better for future patches, as such spacesvlefevre2005-08-181-9/+9
| | | | | | | are sometimes stripped). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
* Converted tabs to spaces with expand.vlefevre2005-08-181-120/+120
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3725 280ebfd0-de03-0410-8827-d642c229c3f4
* Change the address of the FSF.pelissip2005-06-021-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3606 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed minor problem (wrong rounding mode for x=0, y<0), thanks Geoff Baileyzimmerma2005-04-201-2/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3452 280ebfd0-de03-0410-8827-d642c229c3f4
* Fix atan2 to fit C99 semantic.pelissip2005-04-141-49/+158
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3445 280ebfd0-de03-0410-8827-d642c229c3f4
* Add TODO.pelissip2005-04-141-3/+27
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3443 280ebfd0-de03-0410-8827-d642c229c3f4
* Add TODO.pelissip2005-04-131-1/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3438 280ebfd0-de03-0410-8827-d642c229c3f4
* Add function mpfr_atan2pelissip2005-04-041-0/+72
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3427 280ebfd0-de03-0410-8827-d642c229c3f4