Skip to main content

sim_lib_numbers_float/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3#![allow(deprecated)]
4
5//! The `numbers/f32` domain: single-precision floating-point literals and
6//! values, their scalar arithmetic, and promotion into `f64`.
7
8mod implementation;
9mod literal;
10mod ops;
11
12pub use implementation::{F32NumberDomain, F32NumbersLib, number_domain};
13
14/// Cookbook recipes for this lib, embedded at build time.
15pub static RECIPES: sim_cookbook::EmbeddedDir =
16    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));
17
18#[cfg(test)]
19mod tests;