Skip to content

Instantly share code, notes, and snippets.

@ssj-gz
Created December 6, 2012 22:38
Show Gist options
  • Save ssj-gz/4229127 to your computer and use it in GitHub Desktop.
Save ssj-gz/4229127 to your computer and use it in GitHub Desktop.
#include <stdio.h>
typedef long long qint64; /* 64 bit signed */
typedef double qreal;
int main()
{
qreal c = 111;
qint64 d = -111;
c += d;
if (c < -1 || c > 1)
{
printf("Failed!\n");
}
else
{
printf("Succeeded!\n");
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment