[llvm-branch-commits] [libc] [llvm] [libc][math] Adds exponent scaling functions for float80 (PR #238688)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 3 22:16:13 PST 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD do_commit_exp_scaling.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- do_commit_exp_scaling.py 2026-11-04 05:49:16.000000 +0000
+++ do_commit_exp_scaling.py 2026-11-04 06:15:38.111902 +0000
@@ -1,31 +1,35 @@
import subprocess
+
def run(cmd):
- p = subprocess.run(cmd, cwd='c:/work/VM/llvm-project', capture_output=True, text=True, check=True)
+ p = subprocess.run(
+ cmd, cwd="c:/work/VM/llvm-project", capture_output=True, text=True, check=True
+ )
return p.stdout.strip()
-run(['git', 'add', '-A'])
-tree = run(['git', 'write-tree'])
-print('Tree:', tree)
-parent = run(['git', 'rev-parse', 'HEAD'])
-print('Parent:', parent)
+run(["git", "add", "-A"])
+tree = run(["git", "write-tree"])
+print("Tree:", tree)
-author_name = run(['git', 'config', 'user.name'])
-author_email = run(['git', 'config', 'user.email'])
-print('Author:', author_name, author_email)
+parent = run(["git", "rev-parse", "HEAD"])
+print("Parent:", parent)
-msg = 'adds ldexpf80, scalbnf80, scalblnf80'
+author_name = run(["git", "config", "user.name"])
+author_email = run(["git", "config", "user.email"])
+print("Author:", author_name, author_email)
+
+msg = "adds ldexpf80, scalbnf80, scalblnf80"
p = subprocess.run(
- ['git', 'commit-tree', tree, '-p', parent, '-m', msg],
- cwd='c:/work/VM/llvm-project',
+ ["git", "commit-tree", tree, "-p", parent, "-m", msg],
+ cwd="c:/work/VM/llvm-project",
capture_output=True,
text=True,
- check=True
+ check=True,
)
commit = p.stdout.strip()
-print('Commit:', commit)
+print("Commit:", commit)
-run(['git', 'update-ref', 'refs/heads/users/sukumarsawant/f80/exp_scaling', commit])
-print('Branch users/sukumarsawant/f80/exp_scaling updated successfully!')
+run(["git", "update-ref", "refs/heads/users/sukumarsawant/f80/exp_scaling", commit])
+print("Branch users/sukumarsawant/f80/exp_scaling updated successfully!")
``````````
</details>
https://github.com/llvm/llvm-project/pull/238688
More information about the llvm-branch-commits
mailing list