flat assembler
Message board for the users of flat assembler.

Index > Main > discovering f2xm1

Author
Thread Post new topic Reply to topic
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 20 Jun 2011, 10:44
edit: wrong post

hello
i'm not sure of texts below
but it seems a way to implement f2xm1 on very old cpu
fraction assumed positive value ;tip, 2^-x = 1/2^x
no code prepared though Crying or Very sad
Code:
match multiline comment , {
  fraction         = [0..1)
  2^fraction       = [1..2)
  size of fraction = 64bit
  2^(1+1+..+1) = 2^1*2^1*..*2^1 = ;2*2*..*2 = 1 shl 1 shl 1 .. shl 1
  2 > 2^0.? * 2^0.0? *..* 2^0.00..? >= 1  -hence-> no need to keep exponent
  }



.fractions_fields_of_tbyte_results_by_fpu dq\
$D413CCCFE7799211,\ ;f2xm1(2^0.100b)
$C1BF828C6DC54B7A,\ ;f2xm1(2^0.010b)
$B95C1E3EA8BD6E70,\ ;f2xm1(2^0.001b)
$B5586CF9890F6299,\ ;...
$B361A62B0AE875D0,\
$B268F9DE0183B9BE,\
$B1ED4FD999AB6C25,\
$B1AFA5ABCBED612A,\
$B190DB43813D43FE,\
$B18178BA33B141B5,\
$B179C82028FD0946,\
$B175EFFDC76BA38E,\
$B17403F73F2DAD96,\
$B1730DF6A5247426,\
$B17292F702A3AA23,\
$B17255775C040619,\
$B17236B7935C5DDB,\
$B1722757B1B2935F,\
$B1721FA7C1883070,\
$B1721BCFC99D9F89,\
$B17219E3CDB2FF39,\
$B17218EDCFC0591A,\
$B1721872D0C7B08D,\
$B1721835514B86E7,\
$B1721816918D7CBC,\
$B172180731AE7A51,\
$B17217FF81BEF9C5,\
$B17217FBA9C739AA,\
$B17217F9BDCB59A7,\
$B17217F8C7CD69A9,\
$B17217F84CCE71AA,\
$B17217F80F4EF5AB,\
$B17217F7F08F37AB,\
$B17217F7E12F58AC,\
$B17217F7D97F692C,\
$B17217F7D5A7716C,\
$B17217F7D3BB758C,\
$B17217F7D2C5779C,\
$B17217F7D24A78A4,\
$B17217F7D20CF928,\
$B17217F7D1EE396A,\
$B17217F7D1DED98B,\
$B17217F7D1D7299B,\
$B17217F7D1D351A4,\
$B17217F7D1D165A8,\
$B17217F7D1D06FAA,\
$B17217F7D1CFF4AB,\
$B17217F7D1CFB72B,\
$B17217F7D1CF986C,\
$B17217F7D1CF890C,\
$B17217F7D1CF815C,\
$B17217F7D1CF7D84,\
$B17217F7D1CF7B98,\
$B17217F7D1CF7AA2,\
$B17217F7D1CF7A27,\
$B17217F7D1CF79E9,\
$B17217F7D1CF79CB,\
$B17217F7D1CF79BB,\
$B17217F7D1CF79B3,\
$B17217F7D1CF79B0,\
$B17217F7D1CF79AE,\
$B17217F7D1CF79AD,\
$B17217F7D1CF79AC,\
$B17217F7D1CF79AC
    
Post 20 Jun 2011, 10:44
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.