Simulated annealing: Difference between revisions
→{{header|C}}
Line 93:
For your platform you might have to modify parts, such as the call to getentropy(3).
You can also easily change the kind of floating point used. I apologize for false precision in printouts using the default single precision floating point.
<lang c>#include <math.h>
Line 399 ⟶ 402:
Final E(s): 102.24265
</pre>
=={{header|C++}}==
|