You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use a Logic-class function like complement on a floating point type should be a type error, as we don't have a Logic instance for floats. But here's what you get now:
Cryptol> :m Float
Float> :t complement`{Float _ _}
complement`{Float _ _} : {n, m} (ValidFloat n m,
Logic Float n m) =>
Float n m -> Float n m
(Note that Logic (Float n m) is incorrectly printed without parens due to #835.)
The text was updated successfully, but these errors were encountered:
Field should fail for Z n, [n]a, a -> b, and all tuple and record types
Round should fail for Z n, [n]a, a -> b, and all tuple and record types
The following constraints currently show as Unsolved, but should be upgraded to Unsolvable:
Logic Integer
Logic Rational
Field Bit
Field Integer
Round Bit
Round Integer
SignedCmp Bit
SignedCmp Integer
SignedCmp Rational
For example:
Cryptol> :t complement`{Integer}
[error] at <interactive>:1:1--1:11:
Unsolved constraints:
• Logic Integer
arising from
use of expression complement
at <interactive>:1:1--1:11
Trying to use a
Logic
-class function likecomplement
on a floating point type should be a type error, as we don't have aLogic
instance for floats. But here's what you get now:(Note that
Logic (Float n m)
is incorrectly printed without parens due to #835.)The text was updated successfully, but these errors were encountered: