📄 math.c
字号:
/* * java.lang.Math.c * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#include "config.h"#include "config-std.h"#include <native.h>#include <math.h>#include "config-math.h"#include "java_lang_Math.h"doublejava_lang_Math_sin(double v){ return (sin(v));}doublejava_lang_Math_cos(double v){ return (cos(v));}doublejava_lang_Math_tan(double v){ return (tan(v));}doublejava_lang_Math_asin(double v){ return (asin(v));}doublejava_lang_Math_acos(double v){ return (acos(v));}doublejava_lang_Math_atan(double v){ return (atan(v));}doublejava_lang_Math_exp(double v){ return (exp(v));}doublejava_lang_Math_log(double v){ return (log(v));}doublejava_lang_Math_sqrt(double v){ return (sqrt(v));}doublejava_lang_Math_IEEEremainder(double v1, double v2){ return (IEEERemainder(v1, v2));}doublejava_lang_Math_ceil(double v){ return (ceil(v));}doublejava_lang_Math_floor(double v){ return (floor(v));}doublejava_lang_Math_rint(double v){ return (rint(v));}doublejava_lang_Math_atan2(double v1, double v2){ return (atan2(v1, v2));}doublejava_lang_Math_pow0(double v1, double v2){ return (pow(v1, v2));}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -