Random line of code thread
category: code [glöplog]
Code:
// convert to float in [0, 1)
uint32_t v00 = 0x3f800000 | (v0>>9);
out[0] = (*(float*)&v00) - 1.0f;
Code:
jnae hohoho
Code:
move.w #$1988,$dff088
Code:
bset.b #57,$bfe001
haha, that's nice. :D
Code:
PLA
RTS
this is from last nights dream. last sentence before waking up.
Code:
0 to long
hcf
Code:
|| (code & 0x80808080) || !(code & 0x60606060))
Code:
cmp.l (a7)+,d0
Code:
arr #%00011110
IF IF=5 THEN THEN=6 ELSE ELSE=7
Code:
lax frame
var
dt : TDateTime;
begin
dt := ElapsedMilliseconds / MSecsPerSec / SecsPerDay;
result := Format('%d days, %s', [trunc(dt), FormatDateTime('hh:nn:ss.z', Frac(dt))]) ;
end;
dt : TDateTime;
begin
dt := ElapsedMilliseconds / MSecsPerSec / SecsPerDay;
result := Format('%d days, %s', [trunc(dt), FormatDateTime('hh:nn:ss.z', Frac(dt))]) ;
end;
Code:
n := GetFileVersionInfoSize(PChar(S),n);
Code:
#define RIGHT 1
#define DOWN 2
#define LEFT 4
#define UP 8
//Horizontal flip
t=(t & (UP+DOWN)) + RIGHT*(t & LEFT)/LEFT + LEFT*(t & RIGHT)/RIGHT;
Code:
mvi m,255
lda $5800
lhld $5800
sta $5801
shld $5801
lxi h,200h
lxi d,colors
mvi b,16
m1:
mov a,m
stax d
inx h
inx d
dcr b
jnz m1
Code:
addsubpd xmm0, xmm2 ; [y1*x2+x1*y2, x1*x2-y1*y2]
Code:
move.w 6(a1),d1 ; d1 = B[1][0]
Code:
lda instructiondatatable, x
Code:
Double Buffer : Autoback 0
Code:
<body onload="for(x=y=i=4e4;i--;)c.getContext('2d').fillText('x`,x =x-y>>1,y-=236*(y&1)-x)"><canvas id=c>
http://hellmood.111mb.de/drx104b.html
Code:
cmp.l #$c00000-$80000,d1
if (text[tl+offer][lt] != '0') fixPrintf(tox+5+lt,toy+tl*2+ee,0,0,"%c%c%c",text[tl+offer][lt],text[tl+offer][lt+1],text[tl+offer][lt+2]);
Code:
pop : {symbol : 'b', prob : [{replace : 'F', P: 0.5},{replace : 'f', P: 0.2}, {replace : 'r', P: 0.1}, {replace : 'l', P: 0.2}, {replace : 'd', P: 0.0}]}