Skip to content

gh-121905: Consistently use "floating-point" instead of "floating point" - #121907

Merged
serhiy-storchaka merged 8 commits into
python:mainfrom
serhiy-storchaka:docs-floating-point
Jul 19, 2024
Merged

gh-121905: Consistently use "floating-point" instead of "floating point"#121907
serhiy-storchaka merged 8 commits into
python:mainfrom
serhiy-storchaka:docs-floating-point

Conversation

@serhiy-storchaka

@serhiy-storchakaserhiy-storchaka commented Jul 17, 2024

Copy link
Copy Markdown
Member

@serhiy-storchaka

Copy link
Copy Markdown
MemberAuthor

I tried to only use "floating-point" for adjectives, like "floating-point number" and "floating-point arithmetic", not for nouns, like "binary floating point" and "decimal floating point", and not change book names, but it needs third party verification. Maybe there are other cases in which the hyphen is not desirable.

@AlexWaygood

Copy link
Copy Markdown
Member

I tried to only use "floating-point" for adjectives, like "floating-point number" and "floating-point arithmetic", not for nouns, like "binary floating point" and "decimal floating point", and not change book names, but it needs third party verification. Maybe there are other cases in which the hyphen is not desirable.

This is the correct distinction; your choices all look correct to me

@AA-TurnerAA-Turner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had a brief look through everything and can't spot any obvious problems. I agree re using the hyphenated form.

A

Comment threadDoc/c-api/float.rst
Comment threadDoc/faq/programming.rst Outdated
Comment threadDoc/reference/datamodel.rst
Comment threadDoc/tutorial/floatingpoint.rst
@rhettinger
rhettinger removed their request for review July 18, 2024 01:45

@mdickinsonmdickinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't reviewed line-by-line, but the change LGTM in principle.

@serhiy-storchakaserhiy-storchaka added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 18, 2024
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 19, 2024 07:42
@serhiy-storchaka
serhiy-storchaka merged commit 1a0c7b9 into python:mainJul 19, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356 3.13

@miss-islington-app

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356 3.12

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jul 19, 2024
…"floating point" (pythonGH-121907)
(cherry picked from commit 1a0c7b9)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-122012 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jul 19, 2024
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jul 19, 2024
@bedevere-app

Copy link
Copy Markdown

GH-122013 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Jul 19, 2024
serhiy-storchaka added a commit that referenced this pull request Jul 19, 2024
serhiy-storchaka added a commit that referenced this pull request Jul 19, 2024
@serhiy-storchaka
serhiy-storchaka deleted the docs-floating-point branch July 19, 2024 13:10
@serhiy-storchakaserhiy-storchaka removed their assignment Jul 15, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@serhiy-storchaka@AlexWaygood@mdickinson@AA-Turner@ezio-melotti