Oops, had some unsaved changes

This commit is contained in:
Frits van Bommel
2009-03-10 04:56:28 +01:00
parent 613a3b71fd
commit 99aefd93c5

View File

@@ -17,7 +17,7 @@ Index: tango/tango/math/Math.d
}
/*
@@ -312,26 +308,12 @@
@@ -312,28 +308,14 @@
* Results are undefined if |x| >= $(POWER 2,64).
*/
@@ -33,7 +33,8 @@ Index: tango/tango/math/Math.d
+ return llvm_cos(x);
}
- else
- {
+ else version(D_InlineAsm_X86)
{
- real cos(real x)
- {
- return tango.stdc.math.cosl(x);
@@ -44,9 +45,11 @@ Index: tango/tango/math/Math.d
-{
-real cos(real x) /* intrinsic */
-{
version(D_InlineAsm_X86)
{
- version(D_InlineAsm_X86)
- {
asm
{
fld x;
@@ -345,7 +327,6 @@
return tango.stdc.math.cosl(x);
}
@@ -55,7 +58,7 @@ Index: tango/tango/math/Math.d
debug(UnitTest) {
unittest {
@@ -366,26 +347,12 @@
@@ -366,28 +347,14 @@
* Bugs:
* Results are undefined if |x| >= $(POWER 2,64).
*/
@@ -71,7 +74,8 @@ Index: tango/tango/math/Math.d
+ return llvm_sin(x);
}
- else
- {
+ else version(D_InlineAsm_X86)
{
- real sin(real x)
- {
- return tango.stdc.math.sinl(x);
@@ -82,9 +86,11 @@ Index: tango/tango/math/Math.d
-{
-real sin(real x) /* intrinsic */
-{
version(D_InlineAsm_X86)
{
- version(D_InlineAsm_X86)
- {
asm
{
fld x;
@@ -399,7 +366,6 @@
return tango.stdc.math.sinl(x);
}