auto merge of #11299 : brson/rust/exp10, r=pcwalton
LLVM appears to generate calls to exp10 on ARM and bionic does not define it. This makes code that links to libextra (which I guess does some exponentiation on the stat module) link correctly.
This commit is contained in:
commit
d86cb6a39f
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ double log2( double n )
|
|||
return log( n ) / log( 2 );
|
||||
}
|
||||
|
||||
double exp10( double x )
|
||||
{
|
||||
return pow( 10, x );
|
||||
}
|
||||
|
||||
void telldir()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue