Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
force_older_glibc_math.h
Go to the documentation of this file.
1// Copyright 2019 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3#pragma once
4
5// GLIBC_2.27 has new implementations of expf, powf, log2f, exp2f that are pretty nifty,
6// but that's not very helpful if you're using an older glibc that doesn't ship those.
7__asm__(".symver expf,expf@GLIBC_2.4");
8__asm__(".symver powf,powf@GLIBC_2.4");
9__asm__(".symver log2f,log2f@GLIBC_2.4");
10__asm__(".symver exp2f,exp2f@GLIBC_2.4");
__asm__(".symver expf,expf@GLIBC_2.4")