All Downloads are FREE. Search and download functionalities are using the official Maven repository.

z3-z3-4.13.0.src.util.lbool.cpp Maven / Gradle / Ivy

The newest version!
/*++
Copyright (c) 2006 Microsoft Corporation

Module Name:

    lbool.cpp

Abstract:

    

Author:

    Leonardo de Moura (leonardo) 2008-02-08.

Revision History:

--*/
#include "util/lbool.h"

std::ostream & operator<<(std::ostream & out, lbool b) {
    switch(b) {
    case l_false: return out << "l_false";
    case l_true:  return out << "l_true";
    default:      return out << "l_undef";
    }
}

char const * to_sat_str(lbool l) {
    switch (l) {
    case l_false: return "unsatisfiable";
    case l_true:  return "satisfiable";
    default:      return "unknown";
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy