MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / signbit

Function signbit

src/api/cpp/seq.cpp:35–38  ·  view source on GitHub ↗

wtf windows?!

Source from the content-addressed store, hash-verified

33#ifndef signbit
34// wtf windows?!
35inline int signbit(double x) {
36 if (x < 0) { return -1; }
37 return 0;
38}
39#endif
40
41seq::~seq() = default;

Callers 7

seqMethod · 0.70
seq.cppFile · 0.70
convert2CanonicalFunction · 0.50
af_indexFunction · 0.50
af_index_genFunction · 0.50
af_assign_seqFunction · 0.50
af_assign_genFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected