diff options
Diffstat (limited to 'vppinfra/vppinfra/math.h')
-rw-r--r-- | vppinfra/vppinfra/math.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/vppinfra/vppinfra/math.h b/vppinfra/vppinfra/math.h index cedd5cf7b24..48f8c0f4b83 100644 --- a/vppinfra/vppinfra/math.h +++ b/vppinfra/vppinfra/math.h @@ -40,14 +40,24 @@ #include <vppinfra/clib.h> -always_inline f64 sqrt (f64 x) +always_inline f64 +sqrt (f64 x) { return __builtin_sqrt (x); } -always_inline f64 fabs (f64 x) +always_inline f64 +fabs (f64 x) { return __builtin_fabs (x); } #endif /* included_math_h */ + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */ |