日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > java >内容正文

java

divi模板下载_Java Math类静态double IEEEremainder(double divi,double divisor)的示例

發布時間:2025/3/11 java 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 divi模板下载_Java Math类静态double IEEEremainder(double divi,double divisor)的示例 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

divi模板下載

數學類靜態double IEEEremainder(double divi,double divisor) (Math Class static double IEEEremainder(double divi , double divisor))

  • This method is available in java.lang package.

    此方法在java.lang包中可用。

  • This method is used to return the calculated remainder on the given two parameters.

    此方法用于返回給定兩個參數上的計算余數。

  • This method is followed by IEEE 754 Standard.

    IEEE 754標準遵循此方法。

  • This is a static method so it is accessible with the class name too.

    這是一個靜態方法,因此也可以使用類名進行訪問。

  • This method accepts two parameters (one is dividend and other is divisor), and it returns the two numbers (one is quotient and other is remainder).

    此方法接受兩個參數(一個是除數,另一個是除數),并返回兩個數字(一個是商,另一個是余數)。

  • Example: Let suppose if the dividend is fully divisible by divisor then the value of the remainder will be 0 and in that case, the resultant value sign will be the same as the sign of the first argument.

    示例:假設如果除數可被除數完全除,則余數的值將為0,在這種情況下,結果值的符號將與第一個參數的符號相同。

  • The return type of this method is double that means it returns the remainder of the given arguments.

    此方法的返回類型為double,這意味著它將返回給定參數的其余部分。

  • In this method, we pass two parameters as arguments, where, the first argument represents the dividend and the second argument represents the divisor.

    在此方法中,我們將兩個參數作為參數傳遞,其中,第一個參數表示除數,第二個參數表示除數。

  • This method does not throw any exception.

    此方法不會引發任何異常。

Syntax:

句法:

public static double IEEEremainder(double divi, double divisor){}

Parameter(s):

參數:

  • divi – the value of dividend.

    股息 –股息價值。

  • divisor – the value of divisor.

    除數 – 除數的值。

Return value:

返回值:

The return type of this method is double, it returns the remainder.

此方法的返回類型為double ,它返回余數。

Note:

注意:

  • If we pass any argument "NaN", it returns the "NaN".

    如果我們傳遞任何參數“ NaN”,它將返回“ NaN”。

  • If we pass any argument as an infinity, it returns the "NaN".

    如果我們將任何參數傳遞為無窮大,它將返回“ NaN”。

  • If we pass any argument as 0 (-0 or 0), it returns the "NaN".

    如果我們將任何參數傳遞為0(-0或0),它將返回“ NaN”。

  • If we pass a finite value as a first argument and an infinite value as second argument, it returns the first argument.

    如果我們將一個有限值作為第一個參數傳遞而將一個無限值作為第二個參數傳遞,它將返回第一個參數。

Java程序演示IEEEremainder(double divi,double divisor)方法的示例 (Java program to demonstrate example of IEEEremainder(double divi , double divisor) method)

// Java program to demonstrate the example of // IEEEremainder(double divi, double divisor) method of Math Classpublic class IEEEremainderMethod {public static void main(String[] args) {// variables declarationsDouble d1 = 7.0 / 0.0;Double d2 = 10.0;Double d3 = 5.0;Double d4 = 0.0;Double d5 = -0.0;// displaying valuesSystem.out.println("d1: " + d1);System.out.println("d2: " + d2);System.out.println("d3: " + d3);System.out.println("d4: " + d4);System.out.println("d5: " + d5);// Here , we will get (NaN) because we are passing // first parameter whose value is (infinity)System.out.println("Math.IEEEremainder (d1,d2): " + Math.IEEEremainder(d1, d2));// Here , we will get (NaN) because we are passing // second parameter whose value is (positive or negative 0)System.out.println("Math.IEEEremainder (d2,d4): " + Math.IEEEremainder(d2, d4));// Here , we will get (first argument) because we are passing // finite parameter as first argument whose value is (10.0) and // passing infinity as second argument in the method.System.out.println("Math.IEEEremainder (d2,d1): " + Math.IEEEremainder(d2, d1));// Here , we will get (0.0) because we are passing // parameter whose value is (10.0,5.0)System.out.println("Math.IEEEremainder (d2,d3): " + Math.IEEEremainder(d2, d3));} }

Output

輸出量

E:\Programs>javac HypotMethod.javaE:\Programs>java HypotMethod d1: Infinity d2: 10.0 d3: 5.0 d4: 0.0 d5: -0.0 Math.IEEEremainder (d1,d2): NaN Math.IEEEremainder (d2,d4): NaN Math.IEEEremainder (d2,d1): 10.0 Math.IEEEremainder (d2,d3): 0.0

翻譯自: https://www.includehelp.com/java/math-class-static-double-ieeeremainder-double-divi-double-divisor-with-example.aspx

divi模板下載

總結

以上是生活随笔為你收集整理的divi模板下载_Java Math类静态double IEEEremainder(double divi,double divisor)的示例的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 精品人妻伦一二三区久 | 日韩精品一区二区三区在线视频 | 日韩人妻无码一区二区三区99 | 中文字幕国产 | 无码人妻精品丰满熟人区 | 免费午夜视频 | 哺乳期喷奶水丰满少妇 | 吊侵犯の奶水授乳羞羞漫画 | 日本xxxx高潮少妇 | 亚洲福利影院 | a毛片网站| 中文字幕高清在线播放 | 黑丝一区| 美女黄18以下禁止观看 | 亚欧成人精品 | 免费欧美一级视频 | 黄黄视频在线观看 | 成人免费大片黄在线播放 | 青娱乐最新视频 | 五月天色网站 | 天天操天天射天天舔 | 先锋影音男人 | 久久a视频 | 亚洲人成在线播放 | 91色交视频| 亚洲综合精品国产一区二区三区 | 久久久久成人精品免费播放动漫 | 在线不欧美 | 日日躁夜夜躁狠狠躁 | 自拍偷拍国产 | 黄色资源在线播放 | 美女靠逼视频网站 | 激情中文字幕 | 国产91热爆ts人妖在线 | h亚洲 | 久久久精品毛片 | 最新黄色av网站 | 日本美女性爱视频 | 哺乳期喷奶水丰满少妇 | 免费看操片 | 鬼眼| 白嫩日本少妇做爰 | 日本成人激情视频 | jzzijzzij亚洲成熟少妇 | 亚洲一卡一卡 | 99热自拍偷拍 | 人操人人 | 一本色道久久亚洲综合精品蜜桃 | av在线电影网| 日一区二区 | 久久久区 | 黄色污污视频软件 | 又色又爽又高潮免费视频国产 | 亚洲高清在线观看视频 | 一区二区影视 | 欧美一区二区在线观看 | 女的高潮流时喷水图片大全 | 精品国产污污免费网站入口 | 女人脱下裤子让男人桶 | 中文字幕人成乱码熟女香港 | 亚洲精品国产片 | 天天干天天摸 | 黑人中文字幕一区二区三区 | 特级西西444www大精品视频 | 亚洲精品成人网 | 亚洲激情短视频 | 中国黄色网页 | 欧美少妇一区二区三区 | 超碰成人在线观看 | 91好色先生 | 人人澡人人干 | 啪啪亚洲| 亚洲丁香色 | 国产日韩专区 | 日本少妇高潮 | 欧美日本在线看 | 丰满少妇高潮在线观看 | 蜜桃视频一区 | 2019av视频| 欧美精品自拍 | 国产一级片在线播放 | 人妻中文字幕一区二区三区 | 亚洲色图视频在线 | 久久亚洲精选 | 三上悠亚ssⅰn939无码播放 | 青青草原在线免费观看视频 | 亚洲女人毛茸茸 | 在线电影一区二区三区 | 免费在线观看成人 | 香蕉视频网页 | 黑人干亚洲女人 | 在线成人中文字幕 | av高清一区二区 | 五月天久久婷婷 | 午夜视频日韩 | 人人草网 | 欧洲精品一区二区三区久久 | 中文字幕人妻一区二区三区视频 | 黄色片毛片 |