From 77a78e52b5f98812a7b877066ca8203936d945a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Mon, 14 Feb 2022 13:32:49 +0100 Subject: [PATCH] Fix typo in the setting to revert to non-strict floats. --- _posts/news/2022-02-14-announcing-scalajs-1.9.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/news/2022-02-14-announcing-scalajs-1.9.0.md b/_posts/news/2022-02-14-announcing-scalajs-1.9.0.md index 9e0e4a47..e4ec6e8d 100644 --- a/_posts/news/2022-02-14-announcing-scalajs-1.9.0.md +++ b/_posts/news/2022-02-14-announcing-scalajs-1.9.0.md @@ -86,7 +86,7 @@ We have optimized our `fround` polyfill to the greatest extent possible, but ben If you really want to, you can switch back to non-strict float semantics with the following linker setting: {% highlight scala %} -scalaJSLinkerConfig ~= { _.withSemantics(_.withStrictFloats(true)) } +scalaJSLinkerConfig ~= { _.withSemantics(_.withStrictFloats(false)) } {% endhighlight scala %} This is however *deprecated*, and will eventually *cease to have any effect* in a later major or minor version of Scala.js.