Skip to content

Commit be6ec25

Browse files
jwostyT-GroCopilot
authored
Document float and float32 scientific notation more thoroughly (#50208)
* Document float and float32 scientific notation more thoroughly * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Tomas Grosup <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent b3e167f commit be6ec25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/fsharp/language-reference/literals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ The following table shows the literal types in F#. Characters that represent dig
2323
|unativeint|native pointer as an unsigned natural number|un|`0x00002D3Fun`|
2424
|int64|signed 64-bit integer|L|`86L`|
2525
|uint64|unsigned 64-bit natural number|UL|`86UL`|
26-
|single, float32|32-bit floating point number|F or f|`4.14F` or `4.14f` or `infinityf` or `-infinityf`|
26+
|single, float32|32-bit floating point number|F or f|`4.14F` or `4.14f` or `2.3e+32f` or `2.3e-32f` or `infinityf` or `-infinityf`|
2727
|||lf|`0x00000000lf`|
28-
|float; double|64-bit floating point number|none|`4.14` or `2.3E+32` or `2.3e+32` or `infinity` or `-infinity`|
28+
|float; double|64-bit floating point number|none|`4.14` or `2.3E+32` or `2.3e+32` or `2.3e-32` or `infinity` or `-infinity`|
2929
|||LF|`0x0000000000000000LF`|
3030
|bigint|integer not limited to 64-bit representation|I|`9999999999999999999999999999I`|
3131
|decimal|fractional number represented as a fixed point or rational number|M or m|`0.7833M` or `0.7833m`|

0 commit comments

Comments
 (0)