📄 rpf.h
字号:
/* * rpf.h * * Written by: Stefan Frank * Richard Krampfl * Ullrich Hafner * * This file is part of FIASCO (獸籸actal 獻籱age 獳籲d 玈籩quence 獵O籨ec) * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de> *//* * $Date: 2000/06/14 20:49:37 $ * $Author: hafner $ * $Revision: 5.1 $ * $State: Exp $ */#ifndef _RPF_H#define _RPF_H#include "types.h"#include "fiasco.h"typedef struct rpf{ unsigned mantissa_bits; /* number of bits used for mantissa */ real_t range; /* scale value to [-range, +range] */ fiasco_rpf_range_e range_e;} rpf_t;intrtob (real_t real, const rpf_t *rpf);real_t btor (int b, const rpf_t *rpf);rpf_t *alloc_rpf (unsigned mantissa, fiasco_rpf_range_e range);extern const int RPF_ZERO;#endif /* not _RPF_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -