Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion llvm/docs/LangRef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <fptype> %x, 1.0 ; Fractional part
%ip = fsub <fptype> %x, %fp ; Integral part

Expand Down