From bea5371429e564a565fa6c0b7ea59a1204eee869 Mon Sep 17 00:00:00 2001 From: watcol Date: Sun, 14 Nov 2021 22:31:33 +0900 Subject: [PATCH] fix[docs]: typo --- doc/language.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/language.md b/doc/language.md index 4ab2070..be71811 100644 --- a/doc/language.md +++ b/doc/language.md @@ -278,12 +278,12 @@ Accepted range is from `-2^63` to `2^63-1` (64bit signed integer). Float is a IEEE 754 binary64 value. A float consists of integer part, fractional part and exponent part. An -integer part is required, and follows same rule as decimal [integer](#integer) -. A fractional part is prefixed with a full stop (`U+002E`), and consists of -one or more decimal digits. An exponent part is prefixed with `e` or `E`, and -consists of an integer, which follows same rule as decimal [integer](#integer) -but leading zeros are allowed. Either a fractional part or an exponent part -are required. +integer part is required, and follows same rule as decimal +[integer](#integer). A fractional part is prefixed with a full stop +(`U+002E`), and consists of one or more decimal digits. An exponent part is +prefixed with `e` or `E`, and consists of an integer, which follows same rule +as decimal [integer](#integer) but leading zeros are allowed. Either a +fractional part or an exponent part are required. A float will be expressed by `(i + f) * (10 ** e)` where `i` is an integer part, `f` is a fractional part prefixed with `0.` (if eliminated, `f` is 0),