[all-commits] [llvm/llvm-project] ff0698: [LangRef] Fix examples for float to int saturating...

Will via All-commits all-commits at lists.llvm.org
Sun Nov 10 07:51:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff0698b258eba9afd888159358c7369c3f85e9ae
      https://github.com/llvm/llvm-project/commit/ff0698b258eba9afd888159358c7369c3f85e9ae
  Author: Will <william.fedele1 at gmail.com>
  Date:   2024-11-10 (Sun, 10 Nov 2024)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Fix examples for float to int saturating intrinsics (#115629)

As per the [LangRef:Simple
Constants](https://llvm.org/docs/LangRef.html#simple-constants), exact
decimal values of floating-point constants are required. For instance,
23.9 is a repeating decimal in binary and results in the reported error.

https://godbolt.org/z/1h7ETPnf6

Fixes #113529.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list