Skip to content

Instantly share code, notes, and snippets.

@Zeex
Last active January 4, 2016 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zeex/8554176 to your computer and use it in GitHub Desktop.
Save Zeex/8554176 to your computer and use it in GitHub Desktop.
#include <a_samp>
test1() {
new Float:a = 1.5;
a += 16;
printf("%f (%08x)", a, a);
}
test2() {
new Float:a = 1.5, b = 16;
a += b;
printf("%f (%08x)", a, a);
}
f() {
return 16;
}
test3() {
new Float:a = 1.5;
a += f();
printf("%f (%08x)", a, a);
}
main() {
test1();
test2();
test3();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment