endformationage has quit [Ping timeout: 245 seconds]
soegaard has quit [Quit: soegaard]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
soegaard has joined #racket
libertyprime has joined #racket
ng0 has joined #racket
dddddd has joined #racket
soegaard has quit [Quit: soegaard]
fmu_ has joined #racket
fmu has quit [Ping timeout: 250 seconds]
ZombieChicken has quit [Quit: Have a nice day]
sz0 has joined #racket
jsomedon has joined #racket
soegaard has joined #racket
ym555 has joined #racket
soegaard has quit [Quit: soegaard]
iyzsong has joined #racket
selimcan has joined #racket
selimcan has quit [Remote host closed the connection]
ym555 has quit [Quit: leaving...]
libertyprime has quit [Ping timeout: 245 seconds]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 245 seconds]
amz3 has joined #racket
soegaard has joined #racket
s455wang has quit [Ping timeout: 264 seconds]
s455wang has joined #racket
ski has joined #racket
jao has joined #racket
efm has quit [Ping timeout: 245 seconds]
vraid has joined #racket
ATuin has quit [Ping timeout: 246 seconds]
soegaard has quit [Quit: soegaard]
widp_ has joined #racket
efm has joined #racket
acarrico has quit [Quit: Leaving.]
ubLIX has joined #racket
ismay has joined #racket
soegaard has joined #racket
yottabyte has joined #racket
<yottabyte>
I wrote a function that sums the powers of 2, but it's giving me fractional values and I don't understand why. here's my code: https://pastebin.com/r1JM3KFz
<yottabyte>
(I don't know racket)
ismay has quit [Remote host closed the connection]
<yottabyte>
Duns_Scrotus: help
endformationage has joined #racket
widp_ has quit [Ping timeout: 250 seconds]
soegaard has quit [Quit: soegaard]
<vraid>
yottabyte: (range 10) returns all numbers 0-9, and (square 0) equals 1/2
<vraid>
don't ask me why, but your (square n) is defined as 2^(n-1), not n^2
<yottabyte>
lol my bad
<yottabyte>
also I didn't name the functions. it's an exercism problem that I'm solving to show my friend how exercism.io works
<yottabyte>
it's like the number of grains on a square, so the texts call functions named as such
orivej has quit [Ping timeout: 245 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 250 seconds]
iyzsong has quit [Ping timeout: 264 seconds]
ubLX has joined #racket
ubLIX has quit [Ping timeout: 246 seconds]
<vraid>
yottabyte: ah, the old chessboard problem
<vraid>
(range 1 11) will return 1-10, if that is what you are looking for
<yottabyte>
right, that's what I did, it worked
widp_ has joined #racket
vraid has quit [Quit: Leaving]
ubLX has quit [Ping timeout: 268 seconds]
jsomedon has quit [Quit: jsomedon]
orivej has joined #racket
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
yottabyte has left #racket [#racket]
keep_learning has quit [Remote host closed the connection]
androclus has joined #racket
dbmikus has joined #racket
pera has joined #racket
efm has quit [Read error: Connection reset by peer]
petercommand has joined #racket
efm has joined #racket
widp_ has quit [Ping timeout: 250 seconds]
selimcan has joined #racket
widp_ has joined #racket
sauvin has quit [Ping timeout: 245 seconds]
widp_ has quit [Quit: WeeChat 2.1]
widp_ has joined #racket
widp_ has quit [Quit: WeeChat 2.1]
efm has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
dustyweb has joined #racket
FreeFull has joined #racket
soegaard has joined #racket
lavaflow has quit [Ping timeout: 245 seconds]
efm has joined #racket
lavaflow has joined #racket
libertyprime has quit [Ping timeout: 268 seconds]
dustyweb has quit [Ping timeout: 250 seconds]
dustyweb has joined #racket
libertyprime has joined #racket
ZombieChicken has joined #racket
sz0 has quit [Quit: Connection closed for inactivity]
Arcaelyx has joined #racket
orivej has quit [Ping timeout: 246 seconds]
selimcan has quit [Remote host closed the connection]
vraid has joined #racket
dustyweb has quit [Remote host closed the connection]
dustyweb has joined #racket
orivej has joined #racket
Shambles_ has left #racket [#racket]
dustyweb has quit [Ping timeout: 250 seconds]
dustyweb has joined #racket
soegaard has quit [Quit: soegaard]
<zenspider>
greghendershott: you around?
jao has quit [Ping timeout: 246 seconds]
jao has joined #racket
<ZombieChicken>
Anyone here have experience migrating C programs to Racket?
siel has quit [Ping timeout: 250 seconds]
libertyprime has quit [Remote host closed the connection]
ubLIX has joined #racket
pera has quit [Quit: leaving]
ng0 has quit [Quit: Alexa, when is the end of world?]