Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Unified Diff: fusl/src/math/fmaf.c

Issue 1581793002: Remove -Wno-unknown-pragmas from fusl build (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: comment to clang bug Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/math/fma.c ('k') | fusl/src/math/fmal.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/math/fmaf.c
diff --git a/fusl/src/math/fmaf.c b/fusl/src/math/fmaf.c
index aa57feb69567c67a79aae02fc7ea18e07d22fd12..4ebe855204d649f76be1445ad2e27f7e97cd8e5b 100644
--- a/fusl/src/math/fmaf.c
+++ b/fusl/src/math/fmaf.c
@@ -28,6 +28,7 @@
#include <fenv.h>
#include <math.h>
#include <stdint.h>
+#include "libm.h"
/*
* Fused multiply-add: Compute x * y + z with a single rounding error.
@@ -38,7 +39,7 @@
*/
float fmaf(float x, float y, float z)
{
- #pragma STDC FENV_ACCESS ON
+ PRAGMA_STDC_FENV_ACCESS_ON
double xy, result;
union {double f; uint64_t i;} u;
int e;
« no previous file with comments | « fusl/src/math/fma.c ('k') | fusl/src/math/fmal.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698