Prev: OctaOS
Next: DIV overflow
From: Guga on 2 Apr 2007 12:44 On 2 abr, 08:26, "Wolfgang Kern" <nowh...(a)nevernet.at> wrote: > Hello Guga, > > > > > > > [...] > > > > btw: I don't use the slow FPU with its constant FLDL2T. > > > My norm for this int(log(2)) is: > > > > MOVZX eax B$MSbitNr ;or from a byte reg > > > IMUL eax 04d10 ;*19728 > > > SHR eax 010 ;/65536 > > > > even it results to 0.301025391 > > > instead of 0.301029996 > > > it's close enough up to 300 decimal digits > > > > I just tested it with MSbitNr: B$ 320, and the result is 19. > > > ??? > > I also stumbled first over it.... > > B$ cannot hold more than 255 !!!! :) > > __ > wolfgang- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - Ahnn.. oops :) My fault... After 4:00/5:00AM, my brain starts melting , ehuehue Best Regards, Guga
From: Guga on 2 Apr 2007 12:48 On 2 abr, 08:26, "Wolfgang Kern" <nowh...(a)nevernet.at> wrote: > Hello Guga, > > > > > > > [...] > > > > btw: I don't use the slow FPU with its constant FLDL2T. > > > My norm for this int(log(2)) is: > > > > MOVZX eax B$MSbitNr ;or from a byte reg > > > IMUL eax 04d10 ;*19728 > > > SHR eax 010 ;/65536 > > > > even it results to 0.301025391 > > > instead of 0.301029996 > > > it's close enough up to 300 decimal digits > > > > I just tested it with MSbitNr: B$ 320, and the result is 19. > > > ??? > > I also stumbled first over it.... > > B$ cannot hold more than 255 !!!! :) > > __ > wolfgang- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - Ahnn.. oops :) My fault... After 4:00/5:00AM, my brain starts melting , ehuehue I did [MSbitNr: D$ 320], instead [MSbitNr: B$ 320] Best Regards, Guga
From: Guga on 2 Apr 2007 12:50 On 2 abr, 08:26, "Wolfgang Kern" <nowh...(a)nevernet.at> wrote: > Hello Guga, > > > > > > > [...] > > > > btw: I don't use the slow FPU with its constant FLDL2T. > > > My norm for this int(log(2)) is: > > > > MOVZX eax B$MSbitNr ;or from a byte reg > > > IMUL eax 04d10 ;*19728 > > > SHR eax 010 ;/65536 > > > > even it results to 0.301025391 > > > instead of 0.301029996 > > > it's close enough up to 300 decimal digits > > > > I just tested it with MSbitNr: B$ 320, and the result is 19. > > > ??? > > I also stumbled first over it.... > > B$ cannot hold more than 255 !!!! :) > > __ > wolfgang- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - Ahnn.. oops :) My fault... After 4:00/5:00AM, my brain starts melting , ehuehue I did [MSbitNr: D$ 320] Best Regards, Guga
From: Guga on 2 Apr 2007 13:06 On 2 abr, 08:26, "Wolfgang Kern" <nowh...(a)nevernet.at> wrote: > Hello Guga, > > > > > > > [...] > > > > btw: I don't use the slow FPU with its constant FLDL2T. > > > My norm for this int(log(2)) is: > > > > MOVZX eax B$MSbitNr ;or from a byte reg > > > IMUL eax 04d10 ;*19728 > > > SHR eax 010 ;/65536 > > > > even it results to 0.301025391 > > > instead of 0.301029996 > > > it's close enough up to 300 decimal digits > > > > I just tested it with MSbitNr: B$ 320, and the result is 19. > > > ??? > > I also stumbled first over it.... > > B$ cannot hold more than 255 !!!! :) > > __ > wolfgang- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - Wolfgang.. i finished the comments on the functinos. Can i send one of them to u see if they can be optimized ? What email do i send ? Best Regards, Guga
From: Wolfgang Kern on 3 Apr 2007 07:14
Hello Guga, > Wolfgang.. i finished the comments on the functinos. > > Can i send one of them to u see if they can be optimized ? What email > do i send ? Sure. The shortest is: kesys'at'utanet.at [replace the obvious] Please send source text only. looking forward .. Oh, I Already got it ... __ wolfgang |