Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 03:53:22 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/msun/src s_cosf.c s_sinf.c s_tanf.c
Message-ID:  <200511170353.jAH3rNKm042071@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2005-11-17 03:53:22 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/src         s_cosf.c s_sinf.c s_tanf.c 
  Log:
  Minor cleanups:
  
  s_cosf.c and s_sinf.c:
  Use a non-bogus magic constant for the threshold of pi/4.  It was 2 ulps
  smaller than pi/4 rounded down, but its value is not critical so it should
  be the result of natural rounding.
  
  s_cosf.c and s_tanf.c:
  Use a literal 0.0 instead of an unnecessary variable initialized to
  [(float)]0.0.  Let the function prototype convert to 0.0F.
  
  Improved wording in some comments.
  
  Attempted to improve indentation of comments.
  
  Revision  Changes    Path
  1.9       +6 -7      src/lib/msun/src/s_cosf.c
  1.9       +6 -7      src/lib/msun/src/s_sinf.c
  1.9       +9 -10     src/lib/msun/src/s_tanf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511170353.jAH3rNKm042071>