CPCWiki forum

General Category => Programming => Topic started by: roudoudou on 10:34, 11 April 18

Title: [solved] firmware - REAL value description
Post by: roudoudou on 10:34, 11 April 18
I'm looking for REAL description (floating values handled by the firmware).


anyone has it?


thanks


EDIT: found it!
http://www.cpcwiki.eu/index.php/Technical_information_about_Locomotive_BASIC#Floating_Point_data_definition (http://www.cpcwiki.eu/index.php/Technical_information_about_Locomotive_BASIC#Floating_Point_data_definition)
http://www.cpcwiki.eu/index.php/Technical_information_about_Locomotive_BASIC#BASIC_floating-point.2Freal_variables (http://www.cpcwiki.eu/index.php/Technical_information_about_Locomotive_BASIC#BASIC_floating-point.2Freal_variables)
Title: Re: [solved] firmware - REAL value description
Post by: MaV on 12:50, 11 April 18
Close, but it's the chapter above your link:
http://www.cpcwiki.eu/index.php/Technical_information_about_Locomotive_BASIC#Floating_Point_data_definition
Title: Re: [solved] firmware - REAL value description
Post by: MaV on 13:27, 11 April 18
If anyone's interested in another explanation of floating point values, there's a nice article by Fabien Sanglard, and extract from his book about Wolfenstein. The Intel chips use IEEE 754 but it's close enough to the CPC's format to help in understanding how floating point works. There's a few omissions in it but then it's not meant for a science paper.
http://fabiensanglard.net/floating_point_visually_explained/index.php
Powered by SMFPacks Menu Editor Mod