-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(starknet_os): integrate math hints
- Loading branch information
1 parent
efb0878
commit d374505
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use std::collections::HashMap; | ||
|
||
use cairo_vm::hint_processor::hint_processor_definition::HintReference; | ||
use cairo_vm::serde::deserialize_program::ApTracking; | ||
use cairo_vm::types::exec_scope::ExecutionScopes; | ||
use cairo_vm::vm::vm_core::VirtualMachine; | ||
use starknet_types_core::felt::Felt; | ||
|
||
use crate::hints::error::HintResult; | ||
|
||
pub fn log2_ceil( | ||
_vm: &mut VirtualMachine, | ||
_exec_scopes: &mut ExecutionScopes, | ||
_ids_data: &HashMap<String, HintReference>, | ||
_ap_tracking: &ApTracking, | ||
_constants: &HashMap<String, Felt>, | ||
) -> HintResult { | ||
todo!() | ||
} |