From 927057df263102424b580fabdef21cc716c81786 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sun, 18 Jul 2021 13:52:57 +0000 Subject: [PATCH] correct typo (backport #18750) (#18751) * correct typo (cherry picked from commit 1507477306ec482aee52de18b58b32c9abc9b8a7) * fix another typo (cherry picked from commit 269028360c690f3ca66f62cde7a483a866fedcb1) Co-authored-by: Yang Li --- docs/src/developing/on-chain-programs/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/developing/on-chain-programs/overview.md b/docs/src/developing/on-chain-programs/overview.md index b24f953d65..e9cd7bd615 100644 --- a/docs/src/developing/on-chain-programs/overview.md +++ b/docs/src/developing/on-chain-programs/overview.md @@ -94,7 +94,7 @@ attempts to use a float operation that is not supported, the runtime will report an unresolved symbol error. Float operations are performed via software libraries, specifically LLVM's float -builtins. Due to be software emulated they consume more compute units than +builtins. Due to the software emulated they consume more compute units than integer operations. In general, fixed point operations are recommended where possible. @@ -108,7 +108,7 @@ To run the test, sync the repo, and run: Recent results show the float operations take more instructions compared to integers equivalents. Fixed point implementations may vary but will also be -less then the float equivalents: +less than the float equivalents: ``` u64 f32