Skip to content

Commit

Permalink
Merge pull request #2270 from joakim-noah/nogc
Browse files Browse the repository at this point in the history
Remove redundant @nogc attributes
  • Loading branch information
dnadlinger committed Jun 25, 2014
2 parents a3fd0d4 + 9325f6f commit 2278751
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions std/math.d
Expand Up @@ -382,7 +382,7 @@ unittest
* Results are undefined if |x| >= $(POWER 2,64).
*/

real cos(real x) @nogc @safe pure nothrow @nogc; /* intrinsic */
real cos(real x) @safe pure nothrow @nogc; /* intrinsic */

/***********************************
* Returns sine of x. x is in radians.
Expand All @@ -397,7 +397,7 @@ real cos(real x) @nogc @safe pure nothrow @nogc; /* intrinsic */
* Results are undefined if |x| >= $(POWER 2,64).
*/

real sin(real x) @nogc @safe pure nothrow @nogc; /* intrinsic */
real sin(real x) @safe pure nothrow @nogc; /* intrinsic */


/***********************************
Expand Down Expand Up @@ -463,7 +463,7 @@ unittest
* )
*/

real tan(real x) @nogc @trusted pure nothrow @nogc
real tan(real x) @trusted pure nothrow @nogc
{
version(D_InlineAsm_X86)
{
Expand Down Expand Up @@ -2877,7 +2877,7 @@ real cbrt(real x) @trusted nothrow @nogc
* $(TR $(TD $(PLUSMN)$(INFIN)) $(TD +$(INFIN)) )
* )
*/
real fabs(real x) @nogc @safe pure nothrow @nogc; /* intrinsic */
real fabs(real x) @safe pure nothrow @nogc; /* intrinsic */


/***********************************************************************
Expand Down Expand Up @@ -3184,7 +3184,7 @@ real nearbyint(real x) @trusted nothrow @nogc
* $(B nearbyint) performs
* the same operation, but does not set the FE_INEXACT exception.
*/
real rint(real x) @nogc @safe pure nothrow @nogc; /* intrinsic */
real rint(real x) @safe pure nothrow @nogc; /* intrinsic */

/***************************************
* Rounds x to the nearest integer value, using the current rounding
Expand Down

0 comments on commit 2278751

Please sign in to comment.