Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2585bce

Browse files
skirpichevFlorents-Tselai
authored andcommitted
pythongh-69639: Add mixed-mode rules for complex arithmetic (C-like) (pythonGH-124829)
"Generally, mixed-mode arithmetic combining real and complex variables shouldbe performed directly, not by first coercing the real to complex, lest the signof zero be rendered uninformative; the same goes for combinations of pureimaginary quantities with complex variables." (c) Kahan, W: Branch cuts forcomplex elementary functions.This patch implements mixed-mode arithmetic rules, combining real andcomplex variables as specified by C standards since C99 (in particular,there is no special version for the true division with real lhsoperand). Most C compilers implementing C99+ Annex G have only thesespecial rules (without support for imaginary type, which is going to bedeprecated in C2y).
1 parent6d5f544 commit2585bce

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)

    [8]ページ先頭

    ©2009-2025 Movatter.jp