(42) Double precision summation and DOT
|
04-14-2020, 08:38 AM
Post: #1
|
|||
|
|||
(42) Double precision summation and DOT
works in all flavors of the 42, mainly as test cases for Thomas' FMA-rewrite of all internal DOT functions. For the 42S, change all LSTO instructions to STO.
It works using subroutines that will: - add two single-precision numbers and produce a double-precision number (S+) - multiply two single-precision numbers and produce a double-precision number (Sx) - add two double-precision numbers (D+) These routines are bundled in the file double.raw I've added my notes on these, for those who want more details. The double precision summation and DOT functions are in SUMDOT.raw. They will return double-precision numbers (heads in Y, tails in X) listings: Code: 00 { 93-Byte Prgm } Code: 00 { 154-Byte Prgm } Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(42) Double precision summation and DOT - Werner - 04-14-2020 08:38 AM
RE: (42) Double precision summation and DOT - Albert Chan - 04-14-2020, 02:35 PM
RE: (42) Double precision summation and DOT - Werner - 04-14-2020, 04:20 PM
RE: (42) Double precision summation and DOT - Albert Chan - 04-14-2020, 03:07 PM
RE: (42) Double precision summation and DOT - Albert Chan - 04-15-2020, 12:54 AM
RE: (42) Double precision summation and DOT - Werner - 04-15-2020, 06:50 AM
RE: (42) Double precision summation and DOT - Albert Chan - 04-15-2020, 01:26 PM
|
User(s) browsing this thread: 1 Guest(s)