matmul
FP matrix multiplication
- extensions
- raw README.md
- raw benchmark.4th
- raw matmul.4th
- raw package.4th
- raw runbenchs
- raw test.4th
\ public domain
: isspace? ( c -- f )
bl 1+ u< ;
: isnotspace? ( c -- f )
isspace? 0= ;
: xt-skip ( addr1 n1 xt -- addr2 n2 ) \ gforth
\ skip all characters satisfying xt ( c -- f )
>r
BEGIN
dup
WHILE
over c@ r@ execute
WHILE
1 /string
REPEAT THEN
r> drop ;
: parse-name ( "name" -- c-addr u )
source >in @ /string
['] isspace? xt-skip over >r
['] isnotspace? xt-skip ( end-word restlen r: start-word )
2dup 1 min + source drop - >in !
drop r> tuck - ;
by AntonErtl
Versions
2.0.2, 2.0.1, 2.0.0, 1.0.2, 1.0.1, 1.0.0
Tags
ansforth94, forth-94, forth-2012, floating-point-arithmetic, benchmark
Dependencies
None
Dependents
None