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"); 11