//
// Copyright (c) Cryptic Dot
//
// Licensed under FusionAMM SDK Source-Available License v1.0
// See the LICENSE file in the project root for license information.
//
use crate::;
/// Computes the limit order output amount by input amount.
/// ### Parameters
/// - `input_amount` - Input amount.
/// - `a_to_b_order` - The limit order direction.
/// - `sqrt_price` - Square root price
/// - `round_up` - Round up if true