summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pymath.c')
-rw-r--r--Python/pymath.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/Python/pymath.c b/Python/pymath.c
index 24b8042..d3c52a0 100644
--- a/Python/pymath.c
+++ b/Python/pymath.c
@@ -13,10 +13,10 @@ double _Py_force_double(double x)
}
#endif
-#ifdef HAVE_GCC_ASM_FOR_X87
-/* inline assembly for getting and setting the 387 FPU control word on
- gcc/x86 */
+#ifdef HAVE_GCC_ASM_FOR_X87
+// Inline assembly for getting and setting the 387 FPU control word on
+// GCC/x86.
#ifdef _Py_MEMORY_SANITIZER
__attribute__((no_sanitize_memory))
#endif
@@ -29,8 +29,7 @@ unsigned short _Py_get_387controlword(void) {
void _Py_set_387controlword(unsigned short cw) {
__asm__ __volatile__ ("fldcw %0" : : "m" (cw));
}
-
-#endif
+#endif // HAVE_GCC_ASM_FOR_X87
#ifndef HAVE_HYPOT