diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 5f0ae5ce8614c..f57c29ccdd588 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -16162,9 +16162,11 @@ trapping or setting ``errno``. The first result is the fractional part of the operand and the second result is the integral part of the operand. Both results have the same sign as the operand. -Not including exceptional inputs (listed below), `llvm.modf.*` is semantically +Not including exceptional inputs (listed below), ``llvm.modf.*`` is semantically equivalent to: +:: + %fp = frem %x, 1.0 ; Fractional part %ip = fsub %x, %fp ; Integral part