pub struct FPU {
pub f_c0: bool,
pub f_c1: bool,
pub f_c2: bool,
pub f_c3: bool,
/* private fields */
}
Fields§
§f_c0: bool
§f_c1: bool
§f_c2: bool
§f_c3: bool
Implementations§
source§impl FPU
impl FPU
pub fn new() -> FPU
pub fn clear(&mut self)
pub fn set_ctrl(&mut self, ctrl: u16)
pub fn get_ctrl(&self) -> u16
pub fn set_ip(&mut self, ip: u64)
pub fn inc_top(&mut self)
pub fn dec_top(&mut self)
pub fn get_env32(&self) -> Vec<u32>
pub fn get_env64(&self) -> Vec<u64>
pub fn print(&self)
pub fn set_st(&mut self, i: usize, value: f32)
pub fn get_st(&self, i: usize) -> f32
pub fn xchg_st(&mut self, i: usize)
pub fn clear_st(&mut self, i: usize)
pub fn move_to_st0(&mut self, i: usize)
pub fn add_to_st0(&mut self, i: usize)
pub fn add(&mut self, i: usize, j: usize)
pub fn push(&mut self, value: f32)
pub fn pop(&mut self) -> f32
pub fn fyl2x(&mut self)
pub fn fyl2xp1(&mut self)
pub fn check_pending_exceptions(self)
pub fn set_streg(&mut self, reg: Register, value: f32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FPU
impl RefUnwindSafe for FPU
impl Send for FPU
impl Sync for FPU
impl Unpin for FPU
impl UnwindSafe for FPU
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more