There is still a major issue with floating point, though. The
standard forth implementations require to have a separate floating
point stack (we do not have). So porting existing code to amforth
(ie scifi libraries) is difficult as you have to translate it to
none-fp-stack version - not easy, however..
Q to developers: would it be possible to introduce a fp stack? 32
cells deep would be enough, I guess..
P.

----- PŮVODNÍ ZPRÁVA -----
Od: "pito" <p...@volna.cz>
Komu: leon.mau...@gmail.com, amforth-devel@lists.sourceforge.net
Předmět: Re: [Amforth] How to activate the floating point package
Datum: 7.5.2012 - 17:40:26

> So the complete package may look like this:
> ..
> fee. fsd. si. fp. fs. place-rec rec-float floats
> float+ fdepth
> >float string>float extract partnumber fsn.
> >d>fraction fround fmod1
> >ceil floor fmin fmax f<= f>= f> f< f2* f2/ f= fabs
> fnegateifneg
> fnegate f0< f0= f>s f>d s>f d>f faddtoexponent
> f>sigexp sigexp>f
> fshifttopos fshifttoexp flshiftn flshift frshiftn
> frshift
> fmakesignificand fsetsign fsetexponent
> fsignificand fsign fexponent
> frawexponent dsplit dnegateifneg d10* d0< d= d0=
> char>digit
> emitdigit f0 false fliteral (fliteral) f! f@
> fvariable fconstant nip
> fnover nfover fnswap nfswap ftuck fnip frot fswap
> fover fdup fdrop
> fr> f>r fatan2 fpow fsqrt flog10 flog fexp ftanh
> fcosh fsinh fatan
> facos fasin ftan fcos fsin f- f+ f* f/
> 
> :)
> P.
> 
> 
> ----- PŮVODNÍ ZPRÁVA -----
> Od: "Leon Maurer" <leon.mau...@gmail.com>
> Komu: "Everything around amforth"
> <amforth-devel@lists.sourceforge.net>
> Předmět: Re: [Amforth] How to activate the
> floating point package
> Datum: 7.5.2012 - 17:13:09
> 
> > Hello Jan,
> > 
> > If you're looking for floating point wordset I
> > made for amforth some time
> > ago, see the readme in the
> > repository<https://github.com/lnmaurer/amforth-float>;
> > > it has some instructions. The code uses some
> > words
> > > which weren't included
> > in amforth by default. Once that's taken care
> > of,
> > > all you had to do is
> > upload the code over the serial port
> > 
> > I'm using the past tense because the last time I
> > tried it was with amforth
> > 4.4, and things may have changed since then;
> > maybe
> > > it's broken. If you're
> > interested in using it, I can test it out and
> > make
> > > sure it's working when I
> > get a chance (which may be a little while).
> > 
> > -Leon
> > 
> > On Mon, May 7, 2012 at 8:55 AM, Jan Kromhout
> > <krom1...@hotmail.com> wrote:
> > 
> > > Hello,
> > >
> > > How do I activate the floting point packages?
> > >
> > > Cheers,
> > >
> > >
> > > Jan kromhout
> > > Sacharovlaan 3
> > > 3223HM Hellevoetsluis-NL
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > > > > > > > > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways
> > > today's security and
> > > > threat landscape has changed and how IT
> > > > managers
> > > > > > can respond. Discussions
> > > > will include endpoint security, mobile
> > > > security
> > > > > > and the latest in malware
> > > > threats.
> > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > > > > _______________________________________________
> > > > > > Amforth-devel mailing list for
> > > http://amforth.sf.net/
> > > > Amforth-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> > > > > >
> > ------------------------------------------------------------------------------
> > > > > > Live Security Virtual Conference
> > Exclusive live event will cover all the ways
> > today's security and 
> > threat landscape has changed and how IT managers
> > can respond. Discussions 
> > will include endpoint security, mobile security
> > and the latest in malware 
> > threats.
> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > Amforth-devel mailing list for
> > http://amforth.sf.net/
> > Amforth-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> > > 
> 
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to