MCPcopy Create free account
hub / github.com/csmith-project/csmith / UnaryOpWorksForFloat

Method UnaryOpWorksForFloat

src/FunctionInvocation.cpp:654–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652}
653
654bool
655FunctionInvocation::UnaryOpWorksForFloat(eUnaryOps op)
656{
657 switch (op) {
658 case ePlus:
659 case eMinus:
660 case eNot: // fall-through
661 return true;
662 default:
663 return false;
664 }
665}
666
667///////////////////////////////////////////////////////////////////////////////
668

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected