Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ read_f64_float64
Function
read_f64_float64
nodedb-query/src/msgpack_scan/reader.rs:521–524 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
519
520
#[test]
521
fn read_f64_float64() {
522
let buf = encode(&json!(std::f64::consts::PI));
523
assert_eq!(read_f64(&buf, 0), Some(std::f64::consts::PI));
524
}
525
526
#[test]
527
fn read_f64_uint16() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected