Skip to content

Commit eb108ae

Browse files
committed
Add missing functions in port.cpp
1 parent 2d66194 commit eb108ae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

gen/port.cpp

+13
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ double Port::dbl_max;
2424
double Port::dbl_min;
2525
longdouble Port::ldbl_max;
2626

27+
bool Port::yl2x_supported = false;
28+
bool Port::yl2xp1_supported = false;
29+
2730
void ldc::port_init()
2831
{
2932
Port::nan = llvm::APFloat::getNaN(llvm::APFloat::IEEEdouble).convertToDouble();
@@ -77,6 +80,16 @@ int Port::fequal(longdouble x, longdouble y)
7780
return longdouble::fequal(x, y);
7881
}
7982

83+
void Port::yl2x_impl(longdouble* x, longdouble* y, longdouble* res)
84+
{
85+
assert(0);
86+
}
87+
88+
void Port::yl2xp1_impl(longdouble* x, longdouble* y, longdouble* res)
89+
{
90+
assert(0);
91+
}
92+
8093
int Port::memicmp(const char *s1, const char *s2, int n)
8194
{
8295
#if HAVE_MEMICMP

0 commit comments

Comments
 (0)