mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-22 07:05:22 +02:00
[svn r66] Added support for imaginary floating point types
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "removing old objects"
|
||||
mkdir obj
|
||||
mkdir -p obj
|
||||
rm -f obj/*.bc
|
||||
rm -f ../lib/*.bc
|
||||
|
||||
|
||||
12
lphobos/typeinfo1/ti_idouble.d
Normal file
12
lphobos/typeinfo1/ti_idouble.d
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
// idouble
|
||||
|
||||
module typeinfo1.ti_idouble;
|
||||
|
||||
private import typeinfo1.ti_double;
|
||||
|
||||
class TypeInfo_p : TypeInfo_d
|
||||
{
|
||||
char[] toString() { return "idouble"; }
|
||||
}
|
||||
|
||||
12
lphobos/typeinfo1/ti_ifloat.d
Normal file
12
lphobos/typeinfo1/ti_ifloat.d
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
// ifloat
|
||||
|
||||
module typeinfo1.ti_ifloat;
|
||||
|
||||
private import typeinfo1.ti_float;
|
||||
|
||||
class TypeInfo_o : TypeInfo_f
|
||||
{
|
||||
char[] toString() { return "ifloat"; }
|
||||
}
|
||||
|
||||
12
lphobos/typeinfo1/ti_ireal.d
Normal file
12
lphobos/typeinfo1/ti_ireal.d
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
// ireal
|
||||
|
||||
module typeinfo1.ti_ireal;
|
||||
|
||||
private import typeinfo1.ti_real;
|
||||
|
||||
class TypeInfo_j : TypeInfo_e
|
||||
{
|
||||
char[] toString() { return "ireal"; }
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ class TypeInfo_Ad : TypeInfo
|
||||
}
|
||||
|
||||
// idouble[]
|
||||
version(none)
|
||||
|
||||
class TypeInfo_Ap : TypeInfo_Ad
|
||||
{
|
||||
char[] toString() { return "idouble[]"; }
|
||||
|
||||
@@ -99,7 +99,7 @@ class TypeInfo_Af : TypeInfo
|
||||
}
|
||||
|
||||
// ifloat[]
|
||||
version(none)
|
||||
|
||||
class TypeInfo_Ao : TypeInfo_Af
|
||||
{
|
||||
char[] toString() { return "ifloat[]"; }
|
||||
|
||||
@@ -101,7 +101,7 @@ class TypeInfo_Ae : TypeInfo
|
||||
}
|
||||
|
||||
// ireal[]
|
||||
version(none)
|
||||
|
||||
class TypeInfo_Aj : TypeInfo_Ae
|
||||
{
|
||||
char[] toString() { return "ireal[]"; }
|
||||
|
||||
@@ -7,7 +7,10 @@ typeinfo1.ti_delegate,
|
||||
typeinfo1.ti_dchar,
|
||||
typeinfo1.ti_double,
|
||||
typeinfo1.ti_float,
|
||||
typeinfo1.ti_ifloat,
|
||||
typeinfo1.ti_idouble,
|
||||
typeinfo1.ti_int,
|
||||
typeinfo1.ti_ireal,
|
||||
typeinfo1.ti_long,
|
||||
typeinfo1.ti_ptr,
|
||||
typeinfo1.ti_real,
|
||||
|
||||
Reference in New Issue
Block a user