strangeness with float32_to_atom()?

new topic     » topic index » view thread      » older message » newer message
anistropic_avail = allocate(4) 
poke(anistropic_avail, atom_to_float32(13.5))	 
anis_ret = float32_to_atom({anistropic_avail, anistropic_avail+1, anistropic_avail+2, anistropic_avail+3})	 
writetofile(sprintf("Anistropic Max Samples:  [%.1f]\n\n", anis_ret), ZA_MISC)	 

Shouldnt this write out 13.5 or am I doing something wrong?

Result: Anistropic Max Samples: [0.0]

Thanks! Steve A.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu