builtins-38.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 49 行

C
49
字号
/* Copyright (C) 2004 Free Software Foundation.   Check that logb, logbf, logbl, ilogb, ilogbf and ilogbl   built-in functions compile.   Written by Uros Bizjak, 14th April 2004.  *//* { dg-do compile } *//* { dg-options "-O2 -ffast-math" } */extern double logb(double);extern float logbf(float);extern long double logbl(long double);extern int ilogb(double);extern int ilogbf(float);extern int ilogbl(long double);double test1(double x){  return logb(x);}float test1f(float x){  return logbf(x);}long double test1l(long double x){  return logbl(x);}int test2(double x){  return ilogb(x);}int test2f(float x){  return ilogbf(x);}int test2l(long double x){  return ilogbl(x);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?