From c86e20e0db0cf503a89799ca0baa13c533bb792f Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Tue, 14 Apr 2026 20:35:36 +0200 Subject: [PATCH] Update const_DOUBLE_PI --- src/basic/math_consts/e2e5.const_DOUBLE_PI.s | 7 ++++++- tools/similarity.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/basic/math_consts/e2e5.const_DOUBLE_PI.s b/src/basic/math_consts/e2e5.const_DOUBLE_PI.s index 731e51d8..4dd274fd 100644 --- a/src/basic/math_consts/e2e5.const_DOUBLE_PI.s +++ b/src/basic/math_consts/e2e5.const_DOUBLE_PI.s @@ -2,8 +2,13 @@ ;; #LAYOUT# * BASIC_0 #TAKE ;; #LAYOUT# * * #IGNORE +; This file is under the MIT license, it contains code released by Microsoft Corporation. +; See LICENSE for more information. + +; Math package - 2 * pi +; +; This is verified to be identical to the original Microsoft implementation where it was named TWOPI. ; -; Math package - a constant, for documentation see: ; - https://sourceforge.net/p/acme-crossass/code-0/38/tree/trunk/ACME_Lib/cbm/c64/float.a?force=True ; diff --git a/tools/similarity.c b/tools/similarity.c index af74929f..848aaf2d 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -33,7 +33,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = { 0xBDDD, 0xBF51, 0xBFB4, 0xBFEC, 0xE264, 0xE2C2, // Two byte gap here is an optimization - 0xE2C5, 0xE2E4, + 0xE2C5, 0xE2E9, 0xE2EF, 0xE37A, };