class AutoC::STD::PrimitiveCoercions::Primitive::Complex
Constants
- COMPLEX
- DOUBLE_COMPLEX
- FLOAT_COMPLEX
- INTMAX_T
- INTPTR_T
- LONG_DOUBLE_COMPLEX
- UINTMAX_T
Public Instance Methods
hash_code(= @hash_code ||= -> (target) { "((size_t)(crealf(
click to toggle source
# File lib/autoc/std.rb, line 124 def hash_code = @hash_code ||= -> (target) { "((size_t)(crealf(#{target}))^(size_t)(cimagf(#{target})))" } # TODO use tgmath end