We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use the following modification of #type in my project:
#type
#define hsc_ctype(t...) \ if ((t)(int)(t)1.4 == (t)1.4) \ hsc_printf ("%s%lu", \ (t)(-1) < (t)0 ? "Int" : "Word", \ (unsigned long)sizeof (t) * 8); \ else \ hsc_printf ("%s", \ sizeof (t) > sizeof (double) ? "LDouble" : \ sizeof (t) == sizeof (double) ? "CDouble" : \ "CFloat");
It's similar to #type, except it produces CFloat and CDouble instead of Float and Double.
CFloat
CDouble
Float
Double
Would you be open to adding it to the standard template-hsc.h?
template-hsc.h
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use the following modification of
#type
in my project:It's similar to
#type
, except it producesCFloat
andCDouble
instead ofFloat
andDouble
.Would you be open to adding it to the standard
template-hsc.h
?The text was updated successfully, but these errors were encountered: