Skip to content

Conversation

@tewha
Copy link
Contributor

@tewha tewha commented May 7, 2015

__tg_fabs, from tgmath.h (type generic) uses overloading in clang (even in C) to work with float or double, since a CGFloat is a float on 32-bit and a double on 64-bit.

__tg_fabs uses operator overloading to work with float or double.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant