Re: [Flashforth-devel] punctuation, bit?
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2014-05-15 14:01:00
|
Hi, I have been quite busy lately with other things. Summer is coming, so I don't have that much time to sit inside at the computer. If you look at the code below, both if statements are equally fast in FlashForth since the 0= will be optimized away by the compiler. 4 5 bit?: testbit testbit if blabla then testbit 0= if blabla then BR Mike On 05/13/2014 09:44 PM, Herman Attila wrote: > Hi Mikael > > - Previously we talk on the punctuation of numbers, but I can't found > it in FF5.0. > The latest version of idea that you wrote (27. march): > > ------------------------------------------------ > I plan now to do it like this > Just one punctuation char for grouping digits. > > Single precision number > #-10.345 > %1011.1101.1111.0000 > $fad.e > > Double precision numbers > %1011.1101.1111.0000. > #-10.345. > $fade.babe. > ------------------------------------------------- > > Other: > > - I know, it is a bit late, but I have some thought on the bit > manipulating words. The incidence of testing for bit=0 and bit=1 are > similar. Using a bit0?: word would be faster then inverting result of > bit? . Maybe the notation is bit0?: and bit1?: for the symmetry. > I think, a bit toggle word (perhaps bit-tgl: ) would be a good > addition to bit0: and bit1: > > BR > Attila > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |