- 使用LSTM(长短期记忆网络)模型预测股票价格的实例分析
eeee~~
深度学习lstm人工智能rnn金融python神经网络
一:LSTM与RNN的区别LSTM(LongShort-TermMemory)是一种特殊的循环神经网络(RNN)架构。LSTM是为了解决传统RNN在处理长序列数据时遇到的梯度消失或梯度爆炸问题而设计的。在传统的RNN中,信息通过隐藏状态在时间步之间传递,但由于权重的重复应用,随着时间的推移,梯度可能会迅速减小或增大,导致网络难以学习长期依赖关系。LSTM通过引入了一种称为“门”(gates)的机制
- 5 JS中对象
一枝妖孽
8JavaScript对象对象由花括号分隔。在括号内部,对象的属性以名称和值对的形式(name:value)来定义。属性由逗号分隔:varperson={firstname:"Bill",lastname:"Gates",id:5566};上面例子中的对象(person)有三个属性:firstname、lastname以及id。空格和折行无关紧要。声明可横跨多行:varperson={firstn
- [ECE] P2.4 Determine the faulty gates below by analyzing the timing diagrams.
EricWang1358
ECEECE
Itmeansyouareexpectedtoexaminethetimingdiagramsofadigitalcircuittoidentifyanygatesthatmaybemalfunctioningorfaulty.Here'sastep-by-stepapproach:UnderstandtheTimingDiagrams:Reviewthetimingdiagramsprovide
- [ECE] Logic Gates and Programming Background
EricWang1358
ECEECE
Before在数字电路中,我们通常使用两个电平来表示信息:高电平和低电平。高电平(1):代表电压较高的状态。可以将其视为一种信号或状态,表示某种条件成立或某个设备处于活跃状态。低电平(0):代表电压较低的状态。可以将其视为另一种信号或状态,表示某种条件不成立或某个设备处于非活跃状态。有效状态意味着这个状态是真实和被认可的状态,而不仅仅是一个电压变化。在数字电路中,一个输出端的有效状态取决于设计,有
- [ECE] Fixed-Function Logic Gates
EricWang1358
ECEECE
ProgrammingLogicMosttypesofprogrammablelogicdevices(PLDs)usesomeformofANDarray.AnANDarrayconsistsofANDgatesandamatrixofinterconnectionsForeachinputtoanANDgate,onlyoneprogrammablelinkisleftintactinorde
- Revit 二次开发过滤项目元素
wula1994
学习历程c#
//获取所有基本墙Listwalltypes=newFilteredElementCollector(doc).WhereElementIsElementType().OfCategory(BuiltInCategory.OST_Walls).OfClass(typeof(WallType)).Cast().Where(x=>x.FamilyName=="基本墙").ToList();Listwt
- php根据二维数组中的某个字段进行排序
i娟儿
5698,'first_name'=>'Bill','last_name'=>'Gates',),array('id'=>4767,'first_name'=>'Steve','last_name'=>'Aobs',),array('id'=>3809,'first_name'=>'Mark','last_name'=>'Zuckerberg',));//根据字段last_name对数组$data
- Technology:比尔·盖茨(Bill Gates)支持的一家秘密能源创业公司在太阳能技术上取得突破
语Lan
周二,一家默默无闻的清洁能源公司Heliogen脱颖而出,该公司表示已发现一种途径可以利用人工智能和镜面充分反射阳光来产生1000摄氏度以上的极高热量。实质上,Heliogen发明了一个太阳能烤箱——并且这个烤箱的温度能达到太阳表面四分之一的温度。这一突破意味着,收集到的太阳能首次可以用于制造水泥,钢铁,玻璃和其他需要高温处理的工业过程。换句话说,无碳太阳能可以替代化石燃料,这可是清洁能源革命中尚
- 「HDLBits题解」Gates4
UESTC_KS
HDLBits题解Verilog
本专栏的目的是分享可以通过HDLBits仿真的Verilog代码以提供参考各位可同时参考我的代码和官方题解代码或许会有所收益题目链接:Gates4-HDLBitsmoduletop_module(input[3:0]in,outputout_and,outputout_or,outputout_xor);assignout_and=in[0]&in[1]&in[2]&in[3];assignout
- RNN和LSTM的区别是什么?
CA&AI-drugdesign
GPT4rnnlstm人工智能
RNN(循环神经网络)和LSTM(长短时记忆网络)都是处理序列数据(如时间序列或文本)的神经网络类型,但它们在结构和功能上有一些关键区别:1.基本结构:RNN:RNN的核心是一个循环单元,它在序列的每个时间步上执行相同的任务,同时保留一些关于之前步骤的信息。RNN的这个结构使其理论上能够处理任意长度的序列。LSTM:LSTM是RNN的一个变种,它包含特殊的结构称为“门”(Gates)。这些门(遗忘
- Unity C# 枚举多选
牙膏上的小苏打2333
C#Unityunityc#枚举多选
枚举多选例子判断例子[System.Flags]publicenumTestEnum{None=0,Rooms=1<<1,Walls=1<<2,Objects=1<<3,Slabs=1<<4,All=Rooms|Walls|Objects|Slabs}判断TestEnumtest=TestEnum.Rooms;boolisRooms=(test.input&TestEnum.Rooms)!=Tes
- PHP compact() 函数应用场景
guanguans
实例创建一个包含变量名和它们的值的数组:Bill[lastname]=>Gates[age]=>60)定义和用法compact()函数创建包含变量名和它们的值的数组。注释:任何没有变量名与之对应的字符串都被略过。语法compact(var1,var2...)参数描述var1必需。可以是带有变量名的字符串,或者是变量数组。var2,...可选。可以是带有变量名的字符串,或者是变量数组。允许多个参数。
- 前端 js 基础对象 (3)
阿金要当大魔王~~
vue问题javascript前端开发语言
js对象定义JavaScript对象创建=======================new//创建对象:varpersona={firstName:"Bill",lastName:"Gates",age:62,eyeColor:"blue"};//显示对象中的数据:document.getElementById("demo1").innerHTML=persona.firstName+"已经"+
- Revit 二次开发 获取构件的某一层材质
wula1994
学习历程材质c#
如获取墙的结构材质:混凝土-现场浇筑混凝土//拿到墙材质WallTypewallType=(walls[i]asWall).WallType;CompoundStructurewallCS=wallType.GetCompoundStructure();CompoundStructureLayerwallLayer=wallCS.GetLayers().Where(r=>r.Function==M
- JSON 相关的资料
youandme520
jsonjs
JSON:JavaScript对象表示法(JavaScriptObjectNotation)。JSON是存储和交换文本信息的语法。类似XML。JSON比XML更小、更快,更易解析。实例{"employees":[{"firstName":"Bill","lastName":"Gates"},{"firstName":"George","lastName":"Bush"},{"firstName":
- sql基础
盛夏_625
一、insertinto语句(1)插入新的一行数据INSERTINTOPersonsVALUES('Gates','Bill','Xuanwumen10','Beijing');(2)在指定的列中插入数据INSERTINTOPersons(LastName,Address)VALUES('Wilson','Champs-Elysees');二、修改表数据1、update语句(1)无条件更新upda
- Universities without Walls
劈柴捌哥
UniversitieswithoutWallsOvertwothousandyearsago,EmperorQinShiHuangbuilttheGreatWalltopreventenemiesfrominvadinghiscountry.ThefeatofengineeringmadeitoneofSevenWondersoftheWorld.Thoughgreatitis,somepeop
- D. Jumping on Walls bfs
golemon.
算法题cf宽度优先算法
Problem-199D-Codeforces题目大意:有一个两个垂直的平行墙壁组成的一个峡谷。一个人初始是在左边墙壁第一层。在每个墙壁上有些障碍点,用X表示,这些障碍点不能被到达。,他可以执行以下三个操作:向当前墙壁往上爬一层向当前墙壁往下爬一层向对面墙壁往上爬k层同时,初始时在第0层有水,他每次执行完以上任意一个操作后,水位会上升一层。求是否可以安全的到n层以上。这题是一个游戏背景,可能描述的
- Kubernetes(k8s)临时容器EphemeralContainer
祁恩达
临时容器的作用:当由于容器崩溃或容器镜像不包含调试工具而导致kubectlexec无用时,临时容器对于交互式故障排查很有用。开启临时容器vi/usr/lib/systemd/system/kube-apiserver.service--feature-gates=EphemeralContainers=truevi/usr/lib/systemd/system/kube-controller-ma
- 比尔•盖茨离婚的启示:新时代的婚姻理念已经完全颠覆
sunny的个人笔记本
今早曾经的世界首富,盖茨夫妇的离婚刷爆了网络。盖茨在推特上宣布了结束27年婚姻的消息,理由是两人无法再在婚姻中共同成长和提升。其实不止gates,最近几年也有许多名人夫妇,比如亚马逊贝索斯,体育明星福原爱,影视明星赵丽颖,也都官宣离婚。与以往不同的是,这些婚离的都大大方方,没有遮遮掩掩,忸怩作态,而围观的瓜众也都理智客观冷静的纷纷叫好。所以,这也表明了现在这个时代人们对婚姻的观念也已发生了翻天覆地
- poj 图论题目分类(转载)
yrleep
ACM
非常好的一个图论分类原文地址:poj图论题目分类(转载)作者:依然1062*昂贵的聘礼枚举等级限制+dijkstra1087*APlugforUNIX2分匹配1094SortingItAllOutfloyd或拓扑1112*TeamThemUp!2分图染色+DP1125StockbrokerGrapevineFLOYD1135DominoEffect最短路1149*PIGS网络流1161*Walls
- POJ_3470 Walls 【离散化+扫描线+线段树】
weixin_30675247
一、题面POJ3470二、分析POJ感觉是真的老了。这题需要一些预备知识:扫描线,离散化,线段树。线段树是解题的关键,因为这里充分利用了线段树区间修改的高效性,再加上一个单点查询。为什么需要离散化?坐标太分散了,据说可以到longlong,但是就这么多个点,所以离散化一下,方便处理。为什么用扫描线算法?用扫描线,可以方便的求出一个bird到wall的距离,因为是顺着一个方向扫的(这题需要从四个方向
- POJ - 3470 Walls
weixin_30493401
ui
小鸟往四个方向飞都枚举一下,数据范围没给,离散以后按在其中一个轴线排序,在线段树上更新墙的id,然后就是点查询在在哪个墙上了。这题有个trick,因为数据范围没给我老以为是inf设置小了,WA了很多发。(距离可能比0x3f3f3f3f大实现上,我是把鸟和墙的坐标放一起的,用下标来区别两者。/******************************************************
- poj 3470 Walls
weixin_30527551
WallsTimeLimit:6000MSMemoryLimit:131072KTotalSubmissions:1817Accepted:297CaseTimeLimit:3000MSDescriptionThereareNwalls.Awallhasaninfinityheight,soitlookslikeasegmentinaplanefromhighsky.Obviously,theyd
- POJ 3470 Walls(线段树+扫描线)
weixin_30344995
数据结构与算法
【题目链接】http://poj.org/problem?id=3470【题目大意】给出几面墙,均垂直于x轴或者y轴,给出一些鸟的位置(二维坐标点),鸟只会垂直x轴或者y轴飞行,并且会撞上最近的墙,问每面墙最后会有几只鸟撞上去。【题解】我们将所有的二维坐标离散,对xy方向分别进行扫描线,以y轴方向为例,我们先从y最小的线开始扫,如果是墙,那么在线段树中更新其在x轴上的分布位置如果是鸟的坐标,那么在
- POJ 3470|Walls|线段树
huanghongxun
POJ线段树POJ线段树扫描线OI
网格上有N(#include#include#definerep(i,j,k)for(inti=j;i>1;if(q>1;if(qlmid)set(t*2+1,mid+1,r,ql,qr,qc);}voidscan(intk,int*ys,int*xs,int*py,intn){if(k=xs[k])set(1,1,n,xs[k],xs[k2],k/2);}else{//birdintt=get(
- POJ-3470 Walls
EIP_silly
#扫描线线段树
POJ-3470WallsTimeLimit:6000MSMemoryLimit:131072KTotalSubmissions:2624Accepted:402CaseTimeLimit:3000MSDescriptionThereareNwalls.Awallhasaninfinityheight,soitlookslikeasegmentinaplanefromhighsky.Obvious
- POJ 3470 Walls 树上分桶
希望能够帮到你!
算法数据结构
今天太晚了,代码先发上,思路明天说吧。陌上花开,树上分桶#include#include#includeusingnamespacestd;/***对于y1不等于y2的,可以用datC求解,对于x1不等于x2的,可以用datR求解*因此需要结合datC和y1==y2的same,结合datR和x1==x2的same,才能求解问题*/structSame{//_same是墙相等的那一个坐标,例如x1=
- 比尔·盖茨,他和我们一样不吃早餐——观纪录片《走进比尔:解码比尔·盖茨 Inside Bill's Brain: Decoding Bill Gates 》有感
MKSF
没有人不知道他的名字,只是我们不了解他的思想。他觉得自己是个普通人,他和我们一样不喜欢吃早餐。他的数学奇好,对数字异常敏感,而且从不迟到。他喜欢读书,喜欢思考,读书时要搭配健怡可乐咬着眼镜脚。他性格内向,争强好胜,对复杂极端之物感兴趣。他也受家庭影响,母亲强迫他参与社交,关注现实。他被人们误解,天才形象蒙受污点,当众受袭。这是一部三集纪录片,他的生活和工作,事业与人生交织叙述。每一集都是一个他关心
- [BUUCTF]PWN——jarvisoj_level1
Angel~Yan
BUUCTF刷题记录PWN
jarvisoj_level1附件步骤:例行检查,32位程序,没有开任何保护本地运行一下程序,看看大概的情况,可以看到输出了一个地址32位ida载入,习惯性的检索程序里的字符串,没有发现可以直接利用的gates,main函数开始看程序function函数参数buf存在明显的溢出漏洞,程序还将buf参数的地址给了我们由于没有开启nx,所以我们可以先通过read读入shellcode,然后利用溢出漏洞
- 面向对象面向过程
3213213333332132
java
面向对象:把要完成的一件事,通过对象间的协作实现。
面向过程:把要完成的一件事,通过循序依次调用各个模块实现。
我把大象装进冰箱这件事为例,用面向对象和面向过程实现,都是用java代码完成。
1、面向对象
package bigDemo.ObjectOriented;
/**
* 大象类
*
* @Description
* @author FuJian
- Java Hotspot: Remove the Permanent Generation
bookjovi
HotSpot
openjdk上关于hotspot将移除永久带的描述非常详细,http://openjdk.java.net/jeps/122
JEP 122: Remove the Permanent Generation
Author Jon Masamitsu
Organization Oracle
Created 2010/8/15
Updated 2011/
- 正则表达式向前查找向后查找,环绕或零宽断言
dcj3sjt126com
正则表达式
向前查找和向后查找
1. 向前查找:根据要匹配的字符序列后面存在一个特定的字符序列(肯定式向前查找)或不存在一个特定的序列(否定式向前查找)来决定是否匹配。.NET将向前查找称之为零宽度向前查找断言。
对于向前查找,出现在指定项之后的字符序列不会被正则表达式引擎返回。
2. 向后查找:一个要匹配的字符序列前面有或者没有指定的
- BaseDao
171815164
seda
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
public class BaseDao {
public Conn
- Ant标签详解--Java命令
g21121
Java命令
这一篇主要介绍与java相关标签的使用 终于开始重头戏了,Java部分是我们关注的重点也是项目中用处最多的部分。
1
- [简单]代码片段_电梯数字排列
53873039oycg
代码
今天看电梯数字排列是9 18 26这样呈倒N排列的,写了个类似的打印例子,如下:
import java.util.Arrays;
public class 电梯数字排列_S3_Test {
public static void main(S
- Hessian原理
云端月影
hessian原理
Hessian 原理分析
一. 远程通讯协议的基本原理
网络通信需要做的就是将流从一台计算机传输到另外一台计算机,基于传输协议和网络 IO 来实现,其中传输协议比较出名的有 http 、 tcp 、 udp 等等, http 、 tcp 、 udp 都是在基于 Socket 概念上为某类应用场景而扩展出的传输协
- 区分Activity的四种加载模式----以及Intent的setFlags
aijuans
android
在多Activity开发中,有可能是自己应用之间的Activity跳转,或者夹带其他应用的可复用Activity。可能会希望跳转到原来某个Activity实例,而不是产生大量重复的Activity。
这需要为Activity配置特定的加载模式,而不是使用默认的加载模式。 加载模式分类及在哪里配置
Activity有四种加载模式:
standard
singleTop
- hibernate几个核心API及其查询分析
antonyup_2006
html.netHibernatexml配置管理
(一) org.hibernate.cfg.Configuration类
读取配置文件并创建唯一的SessionFactory对象.(一般,程序初始化hibernate时创建.)
Configuration co
- PL/SQL的流程控制
百合不是茶
oraclePL/SQL编程循环控制
PL/SQL也是一门高级语言,所以流程控制是必须要有的,oracle数据库的pl/sql比sqlserver数据库要难,很多pl/sql中有的sqlserver里面没有
流程控制;
分支语句 if 条件 then 结果 else 结果 end if ;
条件语句 case when 条件 then 结果;
循环语句 loop
- 强大的Mockito测试框架
bijian1013
mockito单元测试
一.自动生成Mock类 在需要Mock的属性上标记@Mock注解,然后@RunWith中配置Mockito的TestRunner或者在setUp()方法中显示调用MockitoAnnotations.initMocks(this);生成Mock类即可。二.自动注入Mock类到被测试类 &nbs
- 精通Oracle10编程SQL(11)开发子程序
bijian1013
oracle数据库plsql
/*
*开发子程序
*/
--子程序目是指被命名的PL/SQL块,这种块可以带有参数,可以在不同应用程序中多次调用
--PL/SQL有两种类型的子程序:过程和函数
--开发过程
--建立过程:不带任何参数
CREATE OR REPLACE PROCEDURE out_time
IS
BEGIN
DBMS_OUTPUT.put_line(systimestamp);
E
- 【EhCache一】EhCache版Hello World
bit1129
Hello world
本篇是EhCache系列的第一篇,总体介绍使用EhCache缓存进行CRUD的API的基本使用,更细节的内容包括EhCache源代码和设计、实现原理在接下来的文章中进行介绍
环境准备
1.新建Maven项目
2.添加EhCache的Maven依赖
<dependency>
<groupId>ne
- 学习EJB3基础知识笔记
白糖_
beanHibernatejbosswebserviceejb
最近项目进入系统测试阶段,全赖袁大虾领导有力,保持一周零bug记录,这也让自己腾出不少时间补充知识。花了两天时间把“传智播客EJB3.0”看完了,EJB基本的知识也有些了解,在这记录下EJB的部分知识,以供自己以后复习使用。
EJB是sun的服务器端组件模型,最大的用处是部署分布式应用程序。EJB (Enterprise JavaBean)是J2EE的一部分,定义了一个用于开发基
- angular.bootstrap
boyitech
AngularJSAngularJS APIangular中文api
angular.bootstrap
描述:
手动初始化angular。
这个函数会自动检测创建的module有没有被加载多次,如果有则会在浏览器的控制台打出警告日志,并且不会再次加载。这样可以避免在程序运行过程中许多奇怪的问题发生。
使用方法: angular .
- java-谷歌面试题-给定一个固定长度的数组,将递增整数序列写入这个数组。当写到数组尾部时,返回数组开始重新写,并覆盖先前写过的数
bylijinnan
java
public class SearchInShiftedArray {
/**
* 题目:给定一个固定长度的数组,将递增整数序列写入这个数组。当写到数组尾部时,返回数组开始重新写,并覆盖先前写过的数。
* 请在这个特殊数组中找出给定的整数。
* 解答:
* 其实就是“旋转数组”。旋转数组的最小元素见http://bylijinnan.iteye.com/bl
- 天使还是魔鬼?都是我们制造
ducklsl
生活教育情感
----------------------------剧透请原谅,有兴趣的朋友可以自己看看电影,互相讨论哦!!!
从厦门回来的动车上,无意中瞟到了书中推荐的几部关于儿童的电影。当然,这几部电影可能会另大家失望,并不是类似小鬼当家的电影,而是关于“坏小孩”的电影!
自己挑了两部先看了看,但是发现看完之后,心里久久不能平
- [机器智能与生物]研究生物智能的问题
comsci
生物
我想,人的神经网络和苍蝇的神经网络,并没有本质的区别...就是大规模拓扑系统和中小规模拓扑分析的区别....
但是,如果去研究活体人类的神经网络和脑系统,可能会受到一些法律和道德方面的限制,而且研究结果也不一定可靠,那么希望从事生物神经网络研究的朋友,不如把
- 获取Android Device的信息
dai_lm
android
String phoneInfo = "PRODUCT: " + android.os.Build.PRODUCT;
phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI;
phoneInfo += ", TAGS: " + android.os.Build.TAGS;
ph
- 最佳字符串匹配算法(Damerau-Levenshtein距离算法)的Java实现
datamachine
java算法字符串匹配
原文:http://www.javacodegeeks.com/2013/11/java-implementation-of-optimal-string-alignment.html------------------------------------------------------------------------------------------------------------
- 小学5年级英语单词背诵第一课
dcj3sjt126com
englishword
long 长的
show 给...看,出示
mouth 口,嘴
write 写
use 用,使用
take 拿,带来
hand 手
clever 聪明的
often 经常
wash 洗
slow 慢的
house 房子
water 水
clean 清洁的
supper 晚餐
out 在外
face 脸,
- macvim的使用实战
dcj3sjt126com
macvim
macvim用的是mac里面的vim, 只不过是一个GUI的APP, 相当于一个壳
1. 下载macvim
https://code.google.com/p/macvim/
2. 了解macvim
:h vim的使用帮助信息
:h macvim
- java二分法查找
蕃薯耀
java二分法查找二分法java二分法
java二分法查找
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年6月23日 11:40:03 星期二
http:/
- Spring Cache注解+Memcached
hanqunfeng
springmemcached
Spring3.1 Cache注解
依赖jar包:
<!-- simple-spring-memcached -->
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>simple-s
- apache commons io包快速入门
jackyrong
apache commons
原文参考
http://www.javacodegeeks.com/2014/10/apache-commons-io-tutorial.html
Apache Commons IO 包绝对是好东西,地址在http://commons.apache.org/proper/commons-io/,下面用例子分别介绍:
1) 工具类
2
- 如何学习编程
lampcy
java编程C++c
首先,我想说一下学习思想.学编程其实跟网络游戏有着类似的效果.开始的时候,你会对那些代码,函数等产生很大的兴趣,尤其是刚接触编程的人,刚学习第一种语言的人.可是,当你一步步深入的时候,你会发现你没有了以前那种斗志.就好象你在玩韩国泡菜网游似的,玩到一定程度,每天就是练级练级,完全是一个想冲到高级别的意志力在支持着你.而学编程就更难了,学了两个月后,总是觉得你好象全都学会了,却又什么都做不了,又没有
- 架构师之spring-----spring3.0新特性的bean加载控制@DependsOn和@Lazy
nannan408
Spring3
1.前言。
如题。
2.描述。
@DependsOn用于强制初始化其他Bean。可以修饰Bean类或方法,使用该Annotation时可以指定一个字符串数组作为参数,每个数组元素对应于一个强制初始化的Bean。
@DependsOn({"steelAxe","abc"})
@Comp
- Spring4+quartz2的配置和代码方式调度
Everyday都不同
代码配置spring4quartz2.x定时任务
前言:这些天简直被quartz虐哭。。因为quartz 2.x版本相比quartz1.x版本的API改动太多,所以,只好自己去查阅底层API……
quartz定时任务必须搞清楚几个概念:
JobDetail——处理类
Trigger——触发器,指定触发时间,必须要有JobDetail属性,即触发对象
Scheduler——调度器,组织处理类和触发器,配置方式一般只需指定触发
- Hibernate入门
tntxia
Hibernate
前言
使用面向对象的语言和关系型的数据库,开发起来很繁琐,费时。由于现在流行的数据库都不面向对象。Hibernate 是一个Java的ORM(Object/Relational Mapping)解决方案。
Hibernte不仅关心把Java对象对应到数据库的表中,而且提供了请求和检索的方法。简化了手工进行JDBC操作的流程。
如
- Math类
xiaoxing598
Math
一、Java中的数字(Math)类是final类,不可继承。
1、常数 PI:double圆周率 E:double自然对数
2、截取(注意方法的返回类型) double ceil(double d) 返回不小于d的最小整数 double floor(double d) 返回不大于d的整最大数 int round(float f) 返回四舍五入后的整数 long round