Skip to content

Instantly share code, notes, and snippets.

View calebh's full-sized avatar

Caleb Helbling calebh

View GitHub Profile
@calebh
calebh / variant.cpp
Created April 4, 2021 18:48
C++ variant indexed by integer with no standard library dependency
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
@calebh
calebh / z3-question.txt
Created December 16, 2021 15:01
Z3 Question
(declare-fun r632 () Real)
(declare-fun v633 () Bool)
(declare-fun v630 () Bool)
(declare-fun v628 () Bool)
(declare-fun v626 () Bool)
(declare-fun v624 () Bool)
(declare-fun v622 () Bool)
(declare-fun v620 () Bool)
(declare-fun v618 () Bool)
(declare-fun v616 () Bool)