mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 20:03:14 +01:00
Oops, had some unsaved changes
This commit is contained in:
22
tango.patch
22
tango.patch
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user