Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ _is_float_number
Method
_is_float_number
scapy/layers/can.py:292–294 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
290
return
self.fmt[-1].islower()
291
292
def
_is_float_number(self):
293
# type: () -> bool
294
return
self.fmt[-1] ==
"f"
295
296
def
addfield(self, pkt, s, val):
297
# type: (Packet, bytes, Optional[Union[int, float]]) -> bytes
Callers
3
addfield
Method · 0.95
getfield
Method · 0.95
randval
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected