Skip to main content
Glama

Convex MCP server

Official
by get-convex
floating_point.rs560 B
/// Lowest [`i64`] that can be exactly represented by a [`f64`]. pub const MIN_EXACT_F64_INT: i64 = -(1 << f64::MANTISSA_DIGITS); /// Highest [`i64`] that can be exactly represented by a [`f64`]. pub const MAX_EXACT_F64_INT: i64 = 1 << f64::MANTISSA_DIGITS; /// Assert that two float values are close together. pub fn assert_approx_equal(left: f64, right: f64) { let diff = (left - right).abs(); let add = left.abs() + right.abs(); if diff > 0.0005 * add { panic!("assertion failed: `(left ~= right) left: {left} right: {right}"); } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server