From Jason Turner

[cfenv]

Diff to HTML by rtfpessoa

tmp/tmpezsb56ca/{from.md → to.md} RENAMED
@@ -50,21 +50,23 @@ floating-point status flags, set floating-point control modes, or run
50
  under non-default mode settings. If the pragma is used to enable control
51
  over the floating-point environment, this document does not specify the
52
  effect on floating-point evaluation in constant
53
  expressions. — *end note*]
54
 
 
 
 
 
55
  The floating-point environment has thread storage duration
56
  [[basic.stc.thread]]. The initial state for a thread’s floating-point
57
  environment is the state of the floating-point environment of the thread
58
  that constructs the corresponding `thread` object
59
  [[thread.thread.class]] or `jthread` object [[thread.jthread.class]] at
60
  the time it constructed the object.
61
 
62
- [*Note 2*: That is, the child thread gets the floating-point state of
63
  the parent thread at the time of the child’s creation. — *end note*]
64
 
65
  A separate floating-point environment is maintained for each thread.
66
  Each function accesses the environment corresponding to its calling
67
  thread.
68
 
69
- See also: ISO C 7.6
70
-
 
50
  under non-default mode settings. If the pragma is used to enable control
51
  over the floating-point environment, this document does not specify the
52
  effect on floating-point evaluation in constant
53
  expressions. — *end note*]
54
 
55
+ See also: ISO C 7.6
56
+
57
+ ### Threads <a id="cfenv.thread">[[cfenv.thread]]</a>
58
+
59
  The floating-point environment has thread storage duration
60
  [[basic.stc.thread]]. The initial state for a thread’s floating-point
61
  environment is the state of the floating-point environment of the thread
62
  that constructs the corresponding `thread` object
63
  [[thread.thread.class]] or `jthread` object [[thread.jthread.class]] at
64
  the time it constructed the object.
65
 
66
+ [*Note 1*: That is, the child thread gets the floating-point state of
67
  the parent thread at the time of the child’s creation. — *end note*]
68
 
69
  A separate floating-point environment is maintained for each thread.
70
  Each function accesses the environment corresponding to its calling
71
  thread.
72