pouët.net

Go to bottom

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;
added on the 2015-08-21 15:25:14 by _vincent _vincent
Code:jnae hohoho
Code:move.w #$1988,$dff088
added on the 2015-09-01 07:25:32 by StingRay StingRay
Code:bset.b #57,$bfe001
added on the 2015-11-19 22:43:36 by Blueberry Blueberry
haha, that's nice. :D
added on the 2015-11-19 22:53:14 by StingRay StingRay
Code: PLA RTS
added on the 2015-11-21 04:42:02 by g0blinish g0blinish
this is from last nights dream. last sentence before waking up.

Code:0 to long
added on the 2015-11-21 13:47:33 by 1in10 1in10
hcf
added on the 2015-11-21 14:35:10 by hornet hornet
Code:|| (code & 0x80808080) || !(code & 0x60606060))
Code:cmp.l (a7)+,d0
added on the 2015-11-23 12:33:26 by StingRay StingRay
Code:arr #%00011110
added on the 2015-11-23 12:41:52 by Kylearan Kylearan
IF IF=5 THEN THEN=6 ELSE ELSE=7
added on the 2015-11-23 13:58:31 by g0blinish g0blinish
Code: lax frame
added on the 2015-11-29 21:56:14 by Preacher Preacher
var
dt : TDateTime;
begin
dt := ElapsedMilliseconds / MSecsPerSec / SecsPerDay;
result := Format('%d days, %s', [trunc(dt), FormatDateTime('hh:nn:ss.z', Frac(dt))]) ;
end;
added on the 2015-11-29 22:14:11 by Rusakova Rusakova
Code:n := GetFileVersionInfoSize(PChar(S),n);
added on the 2015-11-29 22:16:13 by Rusakova Rusakova
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;
added on the 2015-12-31 21:21:09 by baah baah
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
added on the 2015-12-31 21:38:10 by g0blinish g0blinish
Code: addsubpd xmm0, xmm2 ; [y1*x2+x1*y2, x1*x2-y1*y2]
added on the 2016-01-12 09:40:14 by Blueberry Blueberry
Code: move.w 6(a1),d1 ; d1 = B[1][0]
added on the 2016-01-12 10:50:57 by ham ham
Code:lda instructiondatatable, x
added on the 2016-01-12 11:04:09 by Preacher Preacher
Code:Double Buffer : Autoback 0
added on the 2016-01-12 11:07:20 by malmix malmix
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
added on the 2016-01-12 11:26:56 by HellMood HellMood
Code:cmp.l #$c00000-$80000,d1
added on the 2016-01-21 14:33:28 by StingRay StingRay
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]);
added on the 2016-01-21 18:22:41 by visy visy
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}]}
added on the 2016-01-21 21:06:16 by rimina rimina

login

Go to top