tmp/tmp2fks2q05/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Threads <a id="cfenv.thread">[[cfenv.thread]]</a>
|
| 2 |
+
|
| 3 |
+
The floating-point environment has thread storage duration
|
| 4 |
+
[[basic.stc.thread]]. The initial state for a thread’s floating-point
|
| 5 |
+
environment is the state of the floating-point environment of the thread
|
| 6 |
+
that constructs the corresponding `thread` object
|
| 7 |
+
[[thread.thread.class]] or `jthread` object [[thread.jthread.class]] at
|
| 8 |
+
the time it constructed the object.
|
| 9 |
+
|
| 10 |
+
[*Note 1*: That is, the child thread gets the floating-point state of
|
| 11 |
+
the parent thread at the time of the child’s creation. — *end note*]
|
| 12 |
+
|
| 13 |
+
A separate floating-point environment is maintained for each thread.
|
| 14 |
+
Each function accesses the environment corresponding to its calling
|
| 15 |
+
thread.
|
| 16 |
+
|