Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Code for floating values
Ishan_Bansal
Jun 7th, 2017
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
a
=
Signal
(
12
)
# value of sqrt_2 = 1.414
#migen doesn't support floating values.
a
=
Signal
(
181
)
#181 = 1.414*128
b
=
Signal
(
12
)
b.
eq
(
3
)
c
=
Signal
(
12
)
c.
eq
(
b*a
)
c.
eq
(
c
>>
7
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 26 min ago | 0.39 KB
whenever user goes to /furnitures/furniture:i...
JSON | 40 min ago | 0.55 KB
whenever user goes to /furnitures route
JSON | 48 min ago | 3.17 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Torchvision Model Wrapping
Python | 1 hour ago | 2.83 KB
Untitled
YAML | 1 hour ago | 0.64 KB
HA Sensor offline entities
YAML | 1 hour ago | 1.37 KB
FREE SPOTIFY PREMIUM for pc
GetText | 2 hours ago | 2.80 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!