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

A typo in the article#3539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Alexandre887 wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromAlexandre887:master-9

Conversation

Alexandre887
Copy link
Member

@Alexandre887Alexandre887 commentedAug 13, 2023
edited
Loading

Numbers

There are six zeroes to the left from$\large1$ in$\large0.000001$, not five.

@@ -50,7 +50,7 @@ let mсs = 0.000001;
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could write the same as:

```js
let mcs = 1e-6; //five zeroes to the left from 1
let mcs = 1e-6; //six zeroes to the left from 1
Copy link
Contributor

Choose a reason for hiding this comment

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

not helpful. perhaps:

let mcs = 1e-6; // five zeroes to the left of 1 (to the right of the decimal point)

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

There is no such “up to the decimal point” condition here. Besides, literally after this sentence comes the following:

If we count the zeroes in0.000001, there are6 of them. So naturally it's1e-6.

Copy link
Contributor

@shallow-beachshallow-beachAug 27, 2024
edited
Loading

Choose a reason for hiding this comment

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

Besides, literally after this sentence

then fix that too:

If we count the zeroes in0.000001, there are5 of them after the decimal point. So naturally it's1e-6.

(also note i edited first suggestion to specifyto the right of decimal point, i figure you saw original through email or smt.)

@shallow-beach
Copy link
Contributor

same confusion as#3541

@joaquinelio
Copy link
Member

I never liked the "zeroes count" explanation.
It doesn't help to build intuition.

We have decimal notation. It comes with a key property:
Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right.
Dividing, to the left.

1.23e-9 moves the decimal point 9 places to the left. "Naturally" for real, no need for extra steps

I couldn't figure out how to change the text without ruining it.

@shallow-beach
Copy link
Contributor

shallow-beach commentedSep 8, 2024
edited
Loading

I never liked the "zeroes count" explanation. It doesn't help to build intuition.

We have decimal notation. It comes with a key property: Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right. Dividing, to the left.

1.23e-9 moves the decimal point 9 places to the left. "Naturally" for real, no need for extra steps

I couldn't figure out how to change the text without ruining it.

zeros count makes sense in that$eX \equiv 10^X$ (X is zero count of multiplier (either of numerator's zeros ($X \geq 0$, with denominator=1) or of denominator's zeros ($X \lt 0$, with numerator=1)), which coincides with count of decimal point moves). trying to apply it directly to a result is confusing - e.g, if we have5555e-4, that results in$5555 * 10^{-4}$ =0.5555, which doesnot have 'usefully' countable zeros.

@joaquinelio
Copy link
Member

I never liked the "zeroes count" explanation. It doesn't help to build intuition.
We have decimal notation. It comes with a key property: Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right. Dividing, to the left.
1.23e-9 moves the decimal point 9 places to the left. "Naturally" for real, no need for extra steps
I couldn't figure out how to change the text without ruining it.

zeros count makes sense in that e X ≡ 10 X (X is zero count of multiplier (either of numerator's zeros ( X ≥ 0 , with denominator=1) or of denominator's zeros ( X < 0 , with numerator=1)), which coincides with count of decimal point moves). trying to apply it directly to a result is confusing - e.g, if we have5555e-4, that results in 5555 ∗ 10 − 4 =0.5555, which doesnot have 'usefully' countable zeros.

It's easier to think that way, don't you think?applying directly
e-4,
5555. --> 0.5555
4 spaces to the left
Where each space is /power of 10

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@shallow-beachshallow-beachshallow-beach left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Alexandre887@shallow-beach@joaquinelio

[8]ページ先頭

©2009-2025 Movatter.jp