summaryrefslogtreecommitdiff
path: root/tests/terf.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2017 withvlefevre2017-01-011-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2016 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11119 280ebfd0-de03-0410-8827-d642c229c3f4
* Replacedvlefevre2016-02-041-1/+1
| | | | | | | | Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9943 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2016 withvlefevre2016-01-011-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2015 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9781 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2015 withvlefevre2015-05-201-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2014 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9403 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2014 withvlefevre2014-01-031-1/+1
| | | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2013 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8724 280ebfd0-de03-0410-8827-d642c229c3f4
* Use copyright year ranges, followingvlefevre2013-05-301-1/+1
| | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8541 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2013 withvlefevre2013-03-081-1/+1
| | | | | | | | | perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2012 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@8465 280ebfd0-de03-0410-8827-d642c229c3f4
* Changed Arenaire to AriC with:vlefevre2012-01-101-1/+1
| | | | | | | perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/) under zsh, reverting the ChangeLog file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7995 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2012 withvlefevre2012-01-101-1/+1
| | | | | | | | | perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2011 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7987 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated AUTHORS file and copyright notices (for more consistency).vlefevre2011-05-181-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7705 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/terf.c] Added some tests of the flags (no failure in them,vlefevre2011-03-151-0/+44
| | | | | | thanks to the mpfr_cmp_si (x, -27282) in erfc.c, for 1b). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7572 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/terf.c] Added a testcase showing a failure due to bad flagsvlefevre2011-03-151-0/+38
| | | | | | in a reduced exponent range. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7570 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/terf.c] Changed mp_exp_t (r7564) to mpfr_exp_t.vlefevre2011-03-141-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7568 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/terf.c] Fixed test added in r7564 for 32-bit machines.vlefevre2011-03-111-5/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7565 280ebfd0-de03-0410-8827-d642c229c3f4
* [erfc.c] fixed bug found by Pascal Molin: when we increase the exponent rangezimmerma2011-03-111-0/+9
| | | | | | | on 64-bit machines, erfc() wrongly underflows for x >= 27282 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7564 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2011 withvlefevre2011-01-171-1/+1
| | | | | | | | perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 and tools/mbench directories. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7389 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
* 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
* GMP_RNDX -> MPFR_RNDXzimmerma2009-03-031-88/+88
| | | | 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
* For the terminating null pointer of the functions mpfr_inits,vlefevre2008-02-151-4/+4
| | | | | | | | | | | | | | | | mpfr_inits2, mpfr_clears, always use the type mpfr_ptr (no longer void *). Updated the description of these functions in the manual (mpfr.texi). The reason is that the C standard does not guarantee that (void *) 0 has the same representation as a null pointer to a structure (and even the same size). In most C implementations, the representations are the same, but one never knows (dynamical checking is also always possible)... The change has been done with: perl -pi -e \ 's/(mpfr_(clear|init)s.*)\(void *\*\) *0\)/$1(mpfr_ptr) 0)/' **/*.c under zsh. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5290 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
* fixed inefficiency reported by Kevin Rauch when x large negative (erfc -> 2)zimmerma2007-10-271-1/+8
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4919 280ebfd0-de03-0410-8827-d642c229c3f4
* Improved generic tests by limiting the exponent range of the randomvlefevre2007-08-311-0/+2
| | | | | | | numbers for some functions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4811 280ebfd0-de03-0410-8827-d642c229c3f4
* No longer use MPFR_CHECK_ALL in tests. In '-dev' versions, assumevlefevre2007-07-251-5/+2
| | | | | | | | | that the data files exist and return an error whenever a file cannot be opened. In the other versions, return silently if the file cannot be opened. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4701 280ebfd0-de03-0410-8827-d642c229c3f4
* Added code to check mpfr against Gonnet's tables when the environment variablezimmerma2007-07-201-0/+6
| | | | | | | MPFR_CHECK_ALL is defined (some table entries were checked by MuPAD) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4688 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed problem with erfc() near underflow regionzimmerma2007-07-181-5/+16
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4647 280ebfd0-de03-0410-8827-d642c229c3f4
* terf.c: added testcase for bug reported by Christopher Creutzig.vlefevre2007-07-101-0/+16
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4635 280ebfd0-de03-0410-8827-d642c229c3f4
* Corrected mpfr_inits, mpfr_inits2 and mpfr_clears calls with NULLvlefevre2007-06-211-2/+2
| | | | | | | argument (-> (void *) 0). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4557 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
* added more testszimmerma2006-11-191-0/+38
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4239 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed bug in pow (isodd -> assertion failed)zimmerma2006-11-191-0/+26
| | | | | | | | fixed problem in erfc for large input reduced tests that took too much time git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4237 280ebfd0-de03-0410-8827-d642c229c3f4
* Added a mpfr_erfc test that shows a bug and updated BUGS file.vlefevre2006-11-181-0/+25
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4231 280ebfd0-de03-0410-8827-d642c229c3f4
* implemented asymptotic formula for erfc (fixed both slowness for largezimmerma2006-11-161-0/+23
| | | | | | | arguments, and call to MPFR_WARNING with return value NaN for huge arguments) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4219 280ebfd0-de03-0410-8827-d642c229c3f4
* added new testzimmerma2006-11-161-0/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4218 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed problem for large negative inputzimmerma2006-11-141-3/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4216 280ebfd0-de03-0410-8827-d642c229c3f4
* tests/terf.c: added a test that yields a segfault (execute "terf 1").vlefevre2006-11-131-0/+16
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4212 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
* 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-4/+4
| | | | | | | are sometimes stripped). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3726 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated copyright line.vlefevre2005-08-181-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3724 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
* Reenable tests.pelissip2005-04-071-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3436 280ebfd0-de03-0410-8827-d642c229c3f4
* replaced // comments by /* ... */zimmerma2005-04-051-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3430 280ebfd0-de03-0410-8827-d642c229c3f4
* Add function mpfr_erfc.pelissip2005-03-311-3/+59
| | | | | | | Add a note about auto-checking correctness of MPFR. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3423 280ebfd0-de03-0410-8827-d642c229c3f4
* improved coverage testzimmerma2004-02-121-0/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2684 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed bugs in atan cbrt erfzimmerma2004-01-271-0/+13
| | | | | | | added new hard-coded tests git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2648 280ebfd0-de03-0410-8827-d642c229c3f4
* added several hard-coded tests (and fixed bugs found)zimmerma2004-01-221-10/+120
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2644 280ebfd0-de03-0410-8827-d642c229c3f4