Skip to content

Commit a4468f9

Browse files
manuelcandalesfacebook-github-bot
authored andcommitted
InputGen: introduce variable space (#3)
Summary: Pull Request resolved: #3 This diff introduces the VariableSpace class. A VariableSpace needs to be initialized with a variable type. Its purpose is to describe a space of values for that variable type. This space can be discrete (like a Python set) or it can be a union of disjoint intervals of real numbers (only for suitable variable types). Reviewed By: digantdesai Differential Revision: D51816908 fbshipit-source-id: e7bbfc26847bc3b1028dd15a05b441263a8497bc
1 parent b9acd4e commit a4468f9

File tree

5 files changed

+701
-0
lines changed

5 files changed

+701
-0
lines changed

inputgen/variable/constants.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
7+
INT64_MAX = 2**63 - 1
8+
INT64_MIN = -(2**63)

0 commit comments

Comments
 (0)