From 698f2054849931122dcef787817a0bbef8a3d61a Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Sat, 11 Apr 2026 18:09:05 +0200 Subject: [PATCH] Update const_ONE --- src/basic/math_consts/bfe8.const_ONE.s | 7 ++++++- tools/similarity.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/basic/math_consts/bfe8.const_ONE.s b/src/basic/math_consts/bfe8.const_ONE.s index d39c248b..21d9f7b3 100644 --- a/src/basic/math_consts/bfe8.const_ONE.s +++ b/src/basic/math_consts/bfe8.const_ONE.s @@ -3,8 +3,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 - the floating point constant 1.0 +; +; This is verified to be identical to the original Microsoft implementation where is part of the EXPCON polynomial ; -; Math package - a constant, for documentation see: ; - https://www.c64-wiki.com/wiki/BASIC-ROM ; diff --git a/tools/similarity.c b/tools/similarity.c index 3da0384e..27ce8909 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -31,7 +31,7 @@ unsigned short microsoft_basic_chunks[NUM_CHUNKS * 2] = { 0xBD7E, 0xBD90, 0xBDB3, 0xBDC1, 0xBDDD, 0xBF51, - 0xBFB4, 0xBFE7, + 0xBFB4, 0xBFEC, };